#7919B4#7919B4

#7919B4 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 46.1% C 0.219 H 307.1°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#7919B4
RGBrgb(121, 25, 180)
HSLhsl(277, 76%, 40%)
HSVhsv(277, 86%, 71%)
CMYKcmyk(32.8%, 86.1%, 0%, 29.4%)
CIE-LABlab(34.10, 62.81, -61.33)
CIE-LCHlch(34.10, 87.78, 315.68°)
OKLaboklab(46.09% 0.132 -0.1747)
OKLCHoklch(46.09% 0.219 307.1)
XYZxyz(16.4692, 8.0557, 43.8585)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7919B4 #54B419
analogous
#2B19B4 #7919B4 #B419A2
triadic
#7919B4 #B47919 #19B479
tetradic
#7919B4 #B42B19 #54B419 #19A2B4
square
#7919B4 #B42B19 #54B419 #19A2B4
split-complementary
#7919B4 #A2B419 #19B42B
monochromatic
#310A49 #55127E #7919B4 #9B29E1 #B45FE9

Accessibility & contrast

On white

8.04
#7919B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7919B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7919B4
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7919B4#FFFFFF#000000##FFFFFF
##7919B41.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB8
Deuteranopia (green-blind)
#0051B1
Tritanopia (blue-blind)
#6F466B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7919b4;
/* rgb */ color: rgb(121, 25, 180);
/* oklch */ color: oklch(46.1% 0.219 307.1);
Tailwind
colors: {
  custom: {
    50: '#a666cb',
    500: '#7919b4',
    950: '#000000',
  },
}
SCSS
$custom: #7919b4;
$custom-light: #a666cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7919b4",
  "rgb": {
    "r": 121,
    "g": 25,
    "b": 180
  },
  "hsl": {
    "h": 277.161,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4609,
    "c": 0.21894,
    "h": 307.1
  },
  "luminance": 0.08055
}

Semantic roles & 50–950 ramp

primary
#7919B4
secondary
#87CD5C
accent
#F2367D
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7919B4

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

Preview Lab → · Contrast checker → · Palette generator →

#7919B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva