#8972CF#8972CF

#8972CF is a mid, vivid violet. Relative luminance 0.219; OKLCH L 61.4% C 0.138 H 293.3°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#8972CF
RGBrgb(137, 114, 207)
HSLhsl(255, 49%, 63%)
HSVhsv(255, 45%, 81%)
CMYKcmyk(33.8%, 44.9%, 0%, 18.8%)
CIE-LABlab(53.88, 29.89, -45.10)
CIE-LCHlch(53.88, 54.11, 303.53°)
OKLaboklab(61.44% 0.0546 -0.1269)
OKLCHoklch(61.44% 0.138 293.3)
XYZxyz(27.5934, 21.8574, 61.7845)
Luminance0.2186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8972CF #B8CF72
analogous
#7289CF #8972CF #B772CF
triadic
#8972CF #CF8972 #72CF89
tetradic
#8972CF #CF7289 #B8CF72 #72CFB7
square
#8972CF #CF7289 #B8CF72 #72CFB7
split-complementary
#8972CF #CFB772 #89CF72
monochromatic
#4B3294 #6344BF #8972CF #AFA0DF #D5CDEE

Accessibility & contrast

On white

3.91
#8972CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#8972CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8972CF
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8972CF#FFFFFF#000000##000000
##8972CF1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5382D2
Deuteranopia (green-blind)
#577FCD
Tritanopia (blue-blind)
#798496
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8972cf;
/* rgb */ color: rgb(137, 114, 207);
/* oklch */ color: oklch(61.4% 0.138 293.3);
Tailwind
colors: {
  custom: {
    50: '#ae9bde',
    500: '#8972cf',
    950: '#000000',
  },
}
SCSS
$custom: #8972cf;
$custom-light: #ae9bde;
$custom-dark: #000000;
JSON
{
  "hex": "#8972cf",
  "rgb": {
    "r": 137,
    "g": 114,
    "b": 207
  },
  "hsl": {
    "h": 254.839,
    "s": 49.206,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61438,
    "c": 0.13816,
    "h": 293.3
  },
  "luminance": 0.21858
}

Semantic roles & 50–950 ramp

primary
#8972CF
secondary
#D7DFBE
accent
#BD2998
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8972CF

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

Preview Lab → · Contrast checker → · Palette generator →

#8972CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva