#8951CE#8951CE

#8951CE is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.0% C 0.187 H 301.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#8951CE
RGBrgb(137, 81, 206)
HSLhsl(267, 56%, 56%)
HSVhsv(267, 61%, 81%)
CMYKcmyk(33.5%, 60.7%, 0%, 19.2%)
CIE-LABlab(46.52, 48.26, -56.28)
CIE-LCHlch(46.52, 74.14, 310.62°)
OKLaboklab(55.97% 0.0967 -0.1596)
OKLCHoklch(55.97% 0.187 301.2)
XYZxyz(24.3969, 15.6593, 60.1178)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8951CE #96CE51
analogous
#5158CE #8951CE #C851CE
triadic
#8951CE #CE8951 #51CE89
tetradic
#8951CE #CE5158 #96CE51 #51CEC8
square
#8951CE #CE5158 #96CE51 #51CEC8
split-complementary
#8951CE #CEC851 #58CE51
monochromatic
#4E2480 #6A32B0 #8951CE #A981DB #CAB1E9

Accessibility & contrast

On white

5.08
#8951CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#8951CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8951CE
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8951CE#FFFFFF#000000##FFFFFF
##8951CE1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED2
Deuteranopia (green-blind)
#296ECB
Tritanopia (blue-blind)
#7B6B88
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8951ce;
/* rgb */ color: rgb(137, 81, 206);
/* oklch */ color: oklch(56.0% 0.187 301.2);
Tailwind
colors: {
  custom: {
    50: '#b084de',
    500: '#8951ce',
    950: '#000000',
  },
}
SCSS
$custom: #8951ce;
$custom-light: #b084de;
$custom-dark: #000000;
JSON
{
  "hex": "#8951ce",
  "rgb": {
    "r": 137,
    "g": 81,
    "b": 206
  },
  "hsl": {
    "h": 266.88,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55969,
    "c": 0.18664,
    "h": 301.2
  },
  "luminance": 0.15659
}

Semantic roles & 50–950 ramp

primary
#8951CE
secondary
#C0D7A4
accent
#DF489C
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8951CE

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

Preview Lab → · Contrast checker → · Palette generator →

#8951CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva