#8974CA#8974CA

#8974CA is a mid, vivid violet. Relative luminance 0.221; OKLCH L 61.5% C 0.128 H 293.5°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#8974CA
RGBrgb(137, 116, 202)
HSLhsl(255, 45%, 62%)
HSVhsv(255, 43%, 79%)
CMYKcmyk(32.2%, 42.6%, 0%, 20.8%)
CIE-LABlab(54.10, 27.40, -41.90)
CIE-LCHlch(54.10, 50.06, 303.18°)
OKLaboklab(61.53% 0.0511 -0.1176)
OKLCHoklch(61.53% 0.128 293.5)
XYZxyz(27.2199, 22.0729, 58.6921)
Luminance0.2207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8974CA #B5CA74
analogous
#748ACA #8974CA #B474CA
triadic
#8974CA #CA8974 #74CA89
tetradic
#8974CA #CA748A #B5CA74 #74CAB4
square
#8974CA #CA748A #B5CA74 #74CAB4
split-complementary
#8974CA #CAB474 #8ACA74
monochromatic
#4B368E #6348B9 #8974CA #AFA0DB #D4CDEC

Accessibility & contrast

On white

3.88
#8974CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#8974CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8974CA
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8974CA#FFFFFF#000000##000000
##8974CA1.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)
#5982CD
Deuteranopia (green-blind)
#5C80C8
Tritanopia (blue-blind)
#7A8495
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8974ca;
/* rgb */ color: rgb(137, 116, 202);
/* oklch */ color: oklch(61.5% 0.128 293.5);
Tailwind
colors: {
  custom: {
    50: '#ae9cda',
    500: '#8974ca',
    950: '#000000',
  },
}
SCSS
$custom: #8974ca;
$custom-light: #ae9cda;
$custom-dark: #000000;
JSON
{
  "hex": "#8974ca",
  "rgb": {
    "r": 137,
    "g": 116,
    "b": 202
  },
  "hsl": {
    "h": 254.651,
    "s": 44.792,
    "l": 62.353
  },
  "oklch": {
    "l": 0.61527,
    "c": 0.1282,
    "h": 293.5
  },
  "luminance": 0.22073
}

Semantic roles & 50–950 ramp

primary
#8974CA
secondary
#D5DDBD
accent
#B82E96
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8974CA

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

Preview Lab → · Contrast checker → · Palette generator →

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