#8874DC#8874DC

#8874DC is a light, vivid violet. Relative luminance 0.229; OKLCH L 62.5% C 0.153 H 290.1°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8874DC
RGBrgb(136, 116, 220)
HSLhsl(252, 60%, 66%)
HSVhsv(252, 47%, 86%)
CMYKcmyk(38.2%, 47.3%, 0%, 13.7%)
CIE-LABlab(54.96, 31.95, -50.74)
CIE-LCHlch(54.96, 59.96, 302.20°)
OKLaboklab(62.46% 0.0525 -0.1434)
OKLCHoklch(62.46% 0.153 290.1)
XYZxyz(29.3135, 22.8915, 70.5703)
Luminance0.2289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8874DC #C8DC74
analogous
#7494DC #8874DC #BC74DC
triadic
#8874DC #DC8874 #74DC88
tetradic
#8874DC #DC7494 #C8DC74 #74DCBC
square
#8874DC #DC7494 #C8DC74 #74DCBC
split-complementary
#8874DC #DCBC74 #94DC74
monochromatic
#442BAB #5E43D0 #8874DC #B2A5E8 #DCD6F5

Accessibility & contrast

On white

3.76
#8874DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#8874DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8874DC
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8874DC#FFFFFF#000000##000000
##8874DC1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D86E0
Deuteranopia (green-blind)
#4F81DA
Tritanopia (blue-blind)
#72899D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8874dc;
/* rgb */ color: rgb(136, 116, 220);
/* oklch */ color: oklch(62.5% 0.153 290.1);
Tailwind
colors: {
  custom: {
    50: '#ae9ce7',
    500: '#8874dc',
    950: '#000000',
  },
}
SCSS
$custom: #8874dc;
$custom-light: #ae9ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#8874dc",
  "rgb": {
    "r": 136,
    "g": 116,
    "b": 220
  },
  "hsl": {
    "h": 251.538,
    "s": 59.77,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62459,
    "c": 0.15269,
    "h": 290.1
  },
  "luminance": 0.22892
}

Semantic roles & 50–950 ramp

primary
#8874DC
secondary
#E0E7C5
accent
#C71EA7
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8874DC

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

Preview Lab → · Contrast checker → · Palette generator →

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