#7D19B4#7D19B4

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

Color values

HEX#7D19B4
RGBrgb(125, 25, 180)
HSLhsl(279, 76%, 40%)
HSVhsv(279, 86%, 71%)
CMYKcmyk(30.6%, 86.1%, 0%, 29.4%)
CIE-LABlab(34.70, 63.40, -60.32)
CIE-LCHlch(34.70, 87.50, 316.43°)
OKLaboklab(46.63% 0.1375 -0.1716)
OKLCHoklch(46.63% 0.22 308.7)
XYZxyz(17.0416, 8.3508, 43.8853)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D19B4 #50B419
analogous
#3019B4 #7D19B4 #B4199D
triadic
#7D19B4 #B47D19 #19B47D
tetradic
#7D19B4 #B43019 #50B419 #199DB4
square
#7D19B4 #B43019 #50B419 #199DB4
split-complementary
#7D19B4 #9DB419 #19B430
monochromatic
#320A49 #58127E #7D19B4 #A029E1 #B85FE9

Accessibility & contrast

On white

7.86
#7D19B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#7D19B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D19B4
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D19B4#FFFFFF#000000##FFFFFF
##7D19B41.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d19b4;
/* rgb */ color: rgb(125, 25, 180);
/* oklch */ color: oklch(46.6% 0.220 308.7);
Tailwind
colors: {
  custom: {
    50: '#a966cb',
    500: '#7d19b4',
    950: '#000000',
  },
}
SCSS
$custom: #7d19b4;
$custom-light: #a966cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d19b4",
  "rgb": {
    "r": 125,
    "g": 25,
    "b": 180
  },
  "hsl": {
    "h": 278.71,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46631,
    "c": 0.2199,
    "h": 308.7
  },
  "luminance": 0.08351
}

Semantic roles & 50–950 ramp

primary
#7D19B4
secondary
#84CD5C
accent
#F23679
background
#FAF6FC
surface
#F5EBF9
border
#CFC6D2
text
#110713
muted
#807A82

Preview Lab

Preview with #7D19B4

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

Preview Lab → · Contrast checker → · Palette generator →

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