#7104F6

A color in the Violet family

#7104f6 is a color in the Violet family: RGB(113, 4, 246), HSL(267°, 97%, 49%), CMYK(54%, 98%, 0%, 4%). Closest named color: blueviolet. Contrast is 6.88:1 on white and 3.05:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#7104f6
RGBrgb(113 4 246)
RGB (legacy)rgb(113, 4, 246)
RGB %rgb(44% 2% 96%)
HSLhsl(267 97% 49%)
HSV / HSBhsv(267, 98%, 96%)
HWBhwb(267 2% 4%)
CMYKcmyk(54%, 98%, 0%, 4%)
CIELAB (D50)lab(36.65 71.17 -94.94)
LCHlch(36.65 118.65 306.86)
OKLaboklab(0.5062 0.0989 -0.2664)
OKLCHoklch(0.5062 0.2841 290.37)
Decimal7406838

Properties

Color ToneViolet
Closest named colorblueviolet ΔE 6.7
Closest web-safe color#6600ff
Hue267°
Saturation (HSL / HSV)97% / 98%
Lightness (HSL)49%
Brightness or Value (HSV)96%
Luminance (Rec.601 / Rec.709)25% / 18%
Relative luminance (WCAG)0.1025
Red / Green / Blue113 / 4 / 246

WCAG 2.2 Contrast Ratio

On White (#ffffff)
6.88:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.05:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 81.3 / -20.6 · As background with white / black text: Lc -86.4 / 22.8

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #7104f6;
  --color-brand-oklch: oklch(50.62% 0.2841 290.37);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(113 4 246 / 50%); }
/* Tailwind CSS */
<div class="bg-[#7104f6] text-[#7104f6] border-[#7104f6]">