#8874BA#8874BA

#8874BA is a mid, moderate violet. Relative luminance 0.213; OKLCH L 60.6% C 0.106 H 296.2°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#8874BA
RGBrgb(136, 116, 186)
HSLhsl(257, 34%, 59%)
HSVhsv(257, 38%, 73%)
CMYKcmyk(26.9%, 37.6%, 0%, 27.1%)
CIE-LABlab(53.24, 23.00, -34.11)
CIE-LCHlch(53.24, 41.14, 303.99°)
OKLaboklab(60.6% 0.0468 -0.095)
OKLCHoklch(60.6% 0.106 296.2)
XYZxyz(25.2596, 21.2699, 49.2196)
Luminance0.2127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8874BA #A6BA74
analogous
#7483BA #8874BA #AB74BA
triadic
#8874BA #BA8874 #74BA88
tetradic
#8874BA #BA7483 #A6BA74 #74BAAB
square
#8874BA #BA7483 #A6BA74 #74BAAB
split-complementary
#8874BA #BAAB74 #83BA74
monochromatic
#4D3C78 #6750A1 #8874BA #AB9DCE #CEC6E3

Accessibility & contrast

On white

4.00
#8874BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#8874BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8874BA
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8874BA#FFFFFF#000000##000000
##8874BA1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6180BD
Deuteranopia (green-blind)
#657EB8
Tritanopia (blue-blind)
#7E808E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8874ba;
/* rgb */ color: rgb(136, 116, 186);
/* oklch */ color: oklch(60.6% 0.106 296.2);
Tailwind
colors: {
  custom: {
    50: '#ac9ccf',
    500: '#8874ba',
    950: '#000000',
  },
}
SCSS
$custom: #8874ba;
$custom-light: #ac9ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#8874ba",
  "rgb": {
    "r": 136,
    "g": 116,
    "b": 186
  },
  "hsl": {
    "h": 257.143,
    "s": 33.654,
    "l": 59.216
  },
  "oklch": {
    "l": 0.606,
    "c": 0.10591,
    "h": 296.2
  },
  "luminance": 0.2127
}

Semantic roles & 50–950 ramp

primary
#8874BA
secondary
#CBD3B7
accent
#CA5EAB
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8874BA

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

Preview Lab → · Contrast checker → · Palette generator →

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