#8978CA#8978CA

#8978CA is a light, vivid violet. Relative luminance 0.230; OKLCH L 62.3% C 0.122 H 292.0°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#8978CA
RGBrgb(137, 120, 202)
HSLhsl(252, 44%, 63%)
HSVhsv(252, 41%, 79%)
CMYKcmyk(32.2%, 40.6%, 0%, 20.8%)
CIE-LABlab(55.09, 25.05, -40.35)
CIE-LCHlch(55.09, 47.49, 301.83°)
OKLaboklab(62.27% 0.0457 -0.113)
OKLCHoklch(62.27% 0.122 292)
XYZxyz(27.6909, 23.0150, 58.8491)
Luminance0.2302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8978CA #B9CA78
analogous
#7890CA #8978CA #B278CA
triadic
#8978CA #CA8978 #78CA89
tetradic
#8978CA #CA7890 #B9CA78 #78CAB2
square
#8978CA #CA7890 #B9CA78 #78CAB2
split-complementary
#8978CA #CAB278 #90CA78
monochromatic
#4A388F #634CB9 #8978CA #AFA4DB #D6D0ED

Accessibility & contrast

On white

3.75
#8978CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#8978CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8978CA
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8978CA#FFFFFF#000000##000000
##8978CA1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F85CD
Deuteranopia (green-blind)
#6182C8
Tritanopia (blue-blind)
#7A8797
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8978ca;
/* rgb */ color: rgb(137, 120, 202);
/* oklch */ color: oklch(62.3% 0.122 292.0);
Tailwind
colors: {
  custom: {
    50: '#ae9fda',
    500: '#8978ca',
    950: '#000000',
  },
}
SCSS
$custom: #8978ca;
$custom-light: #ae9fda;
$custom-dark: #000000;
JSON
{
  "hex": "#8978ca",
  "rgb": {
    "r": 137,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 252.439,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.62273,
    "c": 0.12193,
    "h": 292
  },
  "luminance": 0.23016
}

Semantic roles & 50–950 ramp

primary
#8978CA
secondary
#D7DEC0
accent
#B72F9B
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8978CA

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

Preview Lab → · Contrast checker → · Palette generator →

#8978CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva