#8874CB#8874CB

#8874CB is a mid, vivid violet. Relative luminance 0.220; OKLCH L 61.5% C 0.130 H 292.8°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#8874CB
RGBrgb(136, 116, 203)
HSLhsl(254, 46%, 63%)
HSVhsv(254, 43%, 80%)
CMYKcmyk(33%, 42.9%, 0%, 20.4%)
CIE-LABlab(54.07, 27.39, -42.53)
CIE-LCHlch(54.07, 50.59, 302.78°)
OKLaboklab(61.49% 0.0501 -0.1194)
OKLCHoklch(61.49% 0.13 292.8)
XYZxyz(27.1755, 22.0363, 59.3100)
Luminance0.2204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8874CB #B7CB74
analogous
#748BCB #8874CB #B374CB
triadic
#8874CB #CB8874 #74CB88
tetradic
#8874CB #CB748B #B7CB74 #74CBB3
square
#8874CB #CB748B #B7CB74 #74CBB3
split-complementary
#8874CB #CBB374 #8BCB74
monochromatic
#4A368F #6247BA #8874CB #AEA1DC #D4CDEC

Accessibility & contrast

On white

3.88
#8874CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#8874CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8874CB
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8874CB#FFFFFF#000000##000000
##8874CB1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5982CE
Deuteranopia (green-blind)
#5B80C9
Tritanopia (blue-blind)
#788496
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8874cb;
/* rgb */ color: rgb(136, 116, 203);
/* oklch */ color: oklch(61.5% 0.130 292.8);
Tailwind
colors: {
  custom: {
    50: '#ad9cdb',
    500: '#8874cb',
    950: '#000000',
  },
}
SCSS
$custom: #8874cb;
$custom-light: #ad9cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8874cb",
  "rgb": {
    "r": 136,
    "g": 116,
    "b": 203
  },
  "hsl": {
    "h": 253.793,
    "s": 45.55,
    "l": 62.549
  },
  "oklch": {
    "l": 0.61493,
    "c": 0.12953,
    "h": 292.8
  },
  "luminance": 0.22037
}

Semantic roles & 50–950 ramp

primary
#8874CB
secondary
#D6DDBE
accent
#B92D99
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8874CB

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

Preview Lab → · Contrast checker → · Palette generator →

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