#8974CB#8974CB

#8974CB is a mid, vivid violet. Relative luminance 0.221; OKLCH L 61.6% C 0.130 H 293.3°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8974CB
RGBrgb(137, 116, 203)
HSLhsl(254, 46%, 63%)
HSVhsv(254, 43%, 80%)
CMYKcmyk(32.5%, 42.9%, 0%, 20.4%)
CIE-LABlab(54.15, 27.66, -42.39)
CIE-LCHlch(54.15, 50.62, 303.13°)
OKLaboklab(61.58% 0.0513 -0.119)
OKLCHoklch(61.58% 0.13 293.3)
XYZxyz(27.3387, 22.1204, 59.3176)
Luminance0.2212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8974CB #B6CB74
analogous
#748ACB #8974CB #B574CB
triadic
#8974CB #CB8974 #74CB89
tetradic
#8974CB #CB748A #B6CB74 #74CBB5
square
#8974CB #CB748A #B6CB74 #74CBB5
split-complementary
#8974CB #CBB574 #8ACB74
monochromatic
#4B368F #6347BA #8974CB #AFA1DC #D5CDEC

Accessibility & contrast

On white

3.87
#8974CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#8974CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8974CB
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8974CB#FFFFFF#000000##000000
##8974CB1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5983CE
Deuteranopia (green-blind)
#5C80C9
Tritanopia (blue-blind)
#7A8496
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8974cb;
/* rgb */ color: rgb(137, 116, 203);
/* oklch */ color: oklch(61.6% 0.130 293.3);
Tailwind
colors: {
  custom: {
    50: '#ae9cdb',
    500: '#8974cb',
    950: '#000000',
  },
}
SCSS
$custom: #8974cb;
$custom-light: #ae9cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8974cb",
  "rgb": {
    "r": 137,
    "g": 116,
    "b": 203
  },
  "hsl": {
    "h": 254.483,
    "s": 45.55,
    "l": 62.549
  },
  "oklch": {
    "l": 0.61582,
    "c": 0.12958,
    "h": 293.3
  },
  "luminance": 0.22121
}

Semantic roles & 50–950 ramp

primary
#8974CB
secondary
#D6DDBE
accent
#B92D97
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8974CB

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

Preview Lab → · Contrast checker → · Palette generator →

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