#8974BD#8974BD

#8974BD is a mid, moderate violet. Relative luminance 0.215; OKLCH L 60.8% C 0.110 H 296.2°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#8974BD
RGBrgb(137, 116, 189)
HSLhsl(257, 36%, 60%)
HSVhsv(257, 39%, 74%)
CMYKcmyk(27.5%, 38.6%, 0%, 25.9%)
CIE-LABlab(53.47, 24.05, -35.46)
CIE-LCHlch(53.47, 42.85, 304.15°)
OKLaboklab(60.84% 0.0487 -0.0989)
OKLCHoklch(60.84% 0.11 296.2)
XYZxyz(25.7450, 21.4830, 50.9245)
Luminance0.2148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8974BD #A8BD74
analogous
#7484BD #8974BD #AD74BD
triadic
#8974BD #BD8974 #74BD89
tetradic
#8974BD #BD7484 #A8BD74 #74BDAD
square
#8974BD #BD7484 #A8BD74 #74BDAD
split-complementary
#8974BD #BDAD74 #84BD74
monochromatic
#4D3B7C #674EA5 #8974BD #AC9DD1 #CFC7E4

Accessibility & contrast

On white

3.96
#8974BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#8974BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8974BD
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8974BD#FFFFFF#000000##000000
##8974BD1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6080C0
Deuteranopia (green-blind)
#647FBB
Tritanopia (blue-blind)
#7E818F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8974bd;
/* rgb */ color: rgb(137, 116, 189);
/* oklch */ color: oklch(60.8% 0.110 296.2);
Tailwind
colors: {
  custom: {
    50: '#ad9cd1',
    500: '#8974bd',
    950: '#000000',
  },
}
SCSS
$custom: #8974bd;
$custom-light: #ad9cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8974bd",
  "rgb": {
    "r": 137,
    "g": 116,
    "b": 189
  },
  "hsl": {
    "h": 257.26,
    "s": 35.61,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60843,
    "c": 0.11021,
    "h": 296.2
  },
  "luminance": 0.21483
}

Semantic roles & 50–950 ramp

primary
#8974BD
secondary
#CCD5B8
accent
#CC5CAC
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8974BD

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

Preview Lab → · Contrast checker → · Palette generator →

#8974BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva