#8974C8#8974C8

#8974C8 is a mid, vivid violet. Relative luminance 0.220; OKLCH L 61.4% C 0.125 H 293.9°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#8974C8
RGBrgb(137, 116, 200)
HSLhsl(255, 43%, 62%)
HSVhsv(255, 42%, 78%)
CMYKcmyk(31.5%, 42%, 0%, 21.6%)
CIE-LABlab(54.00, 26.88, -40.92)
CIE-LCHlch(54.00, 48.96, 303.30°)
OKLaboklab(61.42% 0.0508 -0.1147)
OKLCHoklch(61.42% 0.125 293.9)
XYZxyz(26.9846, 21.9788, 57.4530)
Luminance0.2198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8974C8 #B3C874
analogous
#7489C8 #8974C8 #B374C8
triadic
#8974C8 #C88974 #74C889
tetradic
#8974C8 #C87489 #B3C874 #74C8B3
square
#8974C8 #C87489 #B3C874 #74C8B3
split-complementary
#8974C8 #C8B374 #89C874
monochromatic
#4C378B #6448B7 #8974C8 #AEA0D9 #D3CCEB

Accessibility & contrast

On white

3.89
#8974C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#8974C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8974C8
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8974C8#FFFFFF#000000##000000
##8974C81.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B82CB
Deuteranopia (green-blind)
#5D80C6
Tritanopia (blue-blind)
#7B8394
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8974c8;
/* rgb */ color: rgb(137, 116, 200);
/* oklch */ color: oklch(61.4% 0.125 293.9);
Tailwind
colors: {
  custom: {
    50: '#ae9cd9',
    500: '#8974c8',
    950: '#000000',
  },
}
SCSS
$custom: #8974c8;
$custom-light: #ae9cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8974c8",
  "rgb": {
    "r": 137,
    "g": 116,
    "b": 200
  },
  "hsl": {
    "h": 255,
    "s": 43.299,
    "l": 61.961
  },
  "oklch": {
    "l": 0.61419,
    "c": 0.12546,
    "h": 293.9
  },
  "luminance": 0.21979
}

Semantic roles & 50–950 ramp

primary
#8974C8
secondary
#D4DBBC
accent
#B62F95
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100E14
muted
#7F7E83

Preview Lab

Preview with #8974C8

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

Preview Lab → · Contrast checker → · Palette generator →

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