#8979CC#8979CC

#8979CC is a light, vivid violet. Relative luminance 0.234; OKLCH L 62.6% C 0.123 H 291.3°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#8979CC
RGBrgb(137, 121, 204)
HSLhsl(252, 45%, 64%)
HSVhsv(252, 41%, 80%)
CMYKcmyk(32.8%, 40.7%, 0%, 20%)
CIE-LABlab(55.43, 24.99, -40.94)
CIE-LCHlch(55.43, 47.96, 301.40°)
OKLaboklab(62.57% 0.0447 -0.1148)
OKLCHoklch(62.57% 0.123 291.3)
XYZxyz(28.0502, 23.3521, 60.1446)
Luminance0.2335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8979CC #BCCC79
analogous
#7992CC #8979CC #B279CC
triadic
#8979CC #CC8979 #79CC89
tetradic
#8979CC #CC7992 #BCCC79 #79CCB2
square
#8979CC #CC7992 #BCCC79 #79CCB2
split-complementary
#8979CC #CCB279 #92CC79
monochromatic
#493893 #624DBB #8979CC #B0A5DD #D7D2EE

Accessibility & contrast

On white

3.70
#8979CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#8979CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8979CC
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8979CC#FFFFFF#000000##000000
##8979CC1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F86CF
Deuteranopia (green-blind)
#6183CA
Tritanopia (blue-blind)
#798899
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8979cc;
/* rgb */ color: rgb(137, 121, 204);
/* oklch */ color: oklch(62.6% 0.123 291.3);
Tailwind
colors: {
  custom: {
    50: '#ae9fdc',
    500: '#8979cc',
    950: '#000000',
  },
}
SCSS
$custom: #8979cc;
$custom-light: #ae9fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#8979cc",
  "rgb": {
    "r": 137,
    "g": 121,
    "b": 204
  },
  "hsl": {
    "h": 251.566,
    "s": 44.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.62567,
    "c": 0.12316,
    "h": 291.3
  },
  "luminance": 0.23353
}

Semantic roles & 50–950 ramp

primary
#8979CC
secondary
#D9DFC2
accent
#B82D9D
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8979CC

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

Preview Lab → · Contrast checker → · Palette generator →

#8979CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva