#8874CF#8874CF

#8874CF is a mid, vivid violet. Relative luminance 0.222; OKLCH L 61.7% C 0.135 H 292.1°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#8874CF
RGBrgb(136, 116, 207)
HSLhsl(253, 49%, 63%)
HSVhsv(253, 44%, 81%)
CMYKcmyk(34.3%, 44%, 0%, 18.8%)
CIE-LABlab(54.27, 28.45, -44.48)
CIE-LCHlch(54.27, 52.80, 302.60°)
OKLaboklab(61.71% 0.0507 -0.1251)
OKLCHoklch(61.71% 0.135 292.1)
XYZxyz(27.6583, 22.2294, 61.8529)
Luminance0.2223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8874CF #BBCF74
analogous
#748DCF #8874CF #B574CF
triadic
#8874CF #CF8874 #74CF88
tetradic
#8874CF #CF748D #BBCF74 #74CFB5
square
#8874CF #CF748D #BBCF74 #74CFB5
split-complementary
#8874CF #CFB574 #8DCF74
monochromatic
#493395 #6147BF #8874CF #AFA1DF #D6CFEE

Accessibility & contrast

On white

3.86
#8874CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#8874CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8874CF
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8874CF#FFFFFF#000000##000000
##8874CF1.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5683D2
Deuteranopia (green-blind)
#5880CD
Tritanopia (blue-blind)
#778597
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8874cf;
/* rgb */ color: rgb(136, 116, 207);
/* oklch */ color: oklch(61.7% 0.135 292.1);
Tailwind
colors: {
  custom: {
    50: '#ad9cde',
    500: '#8874cf',
    950: '#000000',
  },
}
SCSS
$custom: #8874cf;
$custom-light: #ad9cde;
$custom-dark: #000000;
JSON
{
  "hex": "#8874cf",
  "rgb": {
    "r": 136,
    "g": 116,
    "b": 207
  },
  "hsl": {
    "h": 253.187,
    "s": 48.663,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61714,
    "c": 0.13502,
    "h": 292.1
  },
  "luminance": 0.2223
}

Semantic roles & 50–950 ramp

primary
#8874CF
secondary
#D8E0BF
accent
#BC2A9C
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8874CF

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

Preview Lab → · Contrast checker → · Palette generator →

#8874CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva