#8951E1#8951E1

#8951E1 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.3% C 0.209 H 297.2°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8951E1
RGBrgb(137, 81, 225)
HSLhsl(263, 71%, 60%)
HSVhsv(263, 64%, 88%)
CMYKcmyk(39.1%, 64%, 0%, 11.8%)
CIE-LABlab(47.80, 53.05, -65.06)
CIE-LCHlch(47.80, 83.94, 309.20°)
OKLaboklab(57.3% 0.0954 -0.1854)
OKLCHoklch(57.3% 0.209 297.2)
XYZxyz(26.8461, 16.6390, 73.0168)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8951E1 #A9E151
analogous
#5161E1 #8951E1 #D151E1
triadic
#8951E1 #E18951 #51E189
tetradic
#8951E1 #E15161 #A9E151 #51E1D1
square
#8951E1 #E15161 #A9E151 #51E1D1
split-complementary
#8951E1 #E1D151 #61E151
monochromatic
#4D1B9D #6724D1 #8951E1 #AC85EA #D0B9F3

Accessibility & contrast

On white

4.85
#8951E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#8951E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8951E1
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8951E1#FFFFFF#000000##FFFFFF
##8951E11.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E5
Deuteranopia (green-blind)
#0070DE
Tritanopia (blue-blind)
#747292
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8951e1;
/* rgb */ color: rgb(137, 81, 225);
/* oklch */ color: oklch(57.3% 0.209 297.2);
Tailwind
colors: {
  custom: {
    50: '#b185eb',
    500: '#8951e1',
    950: '#000000',
  },
}
SCSS
$custom: #8951e1;
$custom-light: #b185eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8951e1",
  "rgb": {
    "r": 137,
    "g": 81,
    "b": 225
  },
  "hsl": {
    "h": 263.333,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.57301,
    "c": 0.20855,
    "h": 297.2
  },
  "luminance": 0.16639
}

Semantic roles & 50–950 ramp

primary
#8951E1
secondary
#CDE3AB
accent
#ED3AA8
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8951E1

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

Preview Lab → · Contrast checker → · Palette generator →

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