#7E19B4#7E19B4

#7E19B4 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.8% C 0.220 H 309.1°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#7E19B4
RGBrgb(126, 25, 180)
HSLhsl(279, 76%, 40%)
HSVhsv(279, 86%, 71%)
CMYKcmyk(30%, 86.1%, 0%, 29.4%)
CIE-LABlab(34.86, 63.54, -60.06)
CIE-LCHlch(34.86, 87.44, 316.61°)
OKLaboklab(46.77% 0.1389 -0.1708)
OKLCHoklch(46.77% 0.22 309.1)
XYZxyz(17.1883, 8.4265, 43.8922)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E19B4 #4FB419
analogous
#3119B4 #7E19B4 #B4199C
triadic
#7E19B4 #B47E19 #19B47E
tetradic
#7E19B4 #B43119 #4FB419 #199CB4
square
#7E19B4 #B43119 #4FB419 #199CB4
split-complementary
#7E19B4 #9CB419 #19B431
monochromatic
#330A49 #58127E #7E19B4 #A129E1 #B95FE9

Accessibility & contrast

On white

7.82
#7E19B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7E19B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E19B4
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E19B4#FFFFFF#000000##FFFFFF
##7E19B41.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB8
Deuteranopia (green-blind)
#0053B1
Tritanopia (blue-blind)
#76456B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7e19b4;
/* rgb */ color: rgb(126, 25, 180);
/* oklch */ color: oklch(46.8% 0.220 309.1);
Tailwind
colors: {
  custom: {
    50: '#a966cb',
    500: '#7e19b4',
    950: '#000000',
  },
}
SCSS
$custom: #7e19b4;
$custom-light: #a966cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7e19b4",
  "rgb": {
    "r": 126,
    "g": 25,
    "b": 180
  },
  "hsl": {
    "h": 279.097,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46768,
    "c": 0.22016,
    "h": 309.1
  },
  "luminance": 0.08426
}

Semantic roles & 50–950 ramp

primary
#7E19B4
secondary
#83CD5C
accent
#F23677
background
#FAF6FC
surface
#F5EBF9
border
#CFC6D2
text
#110713
muted
#807A82

Preview Lab

Preview with #7E19B4

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#7E19B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva