#8951E4#8951E4

#8951E4 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.5% C 0.212 H 296.7°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8951E4
RGBrgb(137, 81, 228)
HSLhsl(263, 73%, 61%)
HSVhsv(263, 64%, 89%)
CMYKcmyk(39.9%, 64.5%, 0%, 10.6%)
CIE-LABlab(48.01, 53.82, -66.41)
CIE-LCHlch(48.01, 85.48, 309.02°)
OKLaboklab(57.52% 0.0951 -0.1894)
OKLCHoklch(57.52% 0.212 296.7)
XYZxyz(27.2589, 16.8042, 75.1911)
Luminance0.1681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8951E4 #ACE451
analogous
#5162E4 #8951E4 #D251E4
triadic
#8951E4 #E48951 #51E489
tetradic
#8951E4 #E45162 #ACE451 #51E4D2
square
#8951E4 #E45162 #ACE451 #51E4D2
split-complementary
#8951E4 #E4D251 #62E451
monochromatic
#4D19A2 #6621D7 #8951E4 #AD86EC #D1BBF4

Accessibility & contrast

On white

4.82
#8951E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#8951E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8951E4
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8951E4#FFFFFF#000000##FFFFFF
##8951E41.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E9
Deuteranopia (green-blind)
#0070E1
Tritanopia (blue-blind)
#727393
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8951e4;
/* rgb */ color: rgb(137, 81, 228);
/* oklch */ color: oklch(57.5% 0.212 296.7);
Tailwind
colors: {
  custom: {
    50: '#b285ed',
    500: '#8951e4',
    950: '#000000',
  },
}
SCSS
$custom: #8951e4;
$custom-light: #b285ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8951e4",
  "rgb": {
    "r": 137,
    "g": 81,
    "b": 228
  },
  "hsl": {
    "h": 262.857,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.57519,
    "c": 0.21197,
    "h": 296.7
  },
  "luminance": 0.16805
}

Semantic roles & 50–950 ramp

primary
#8951E4
secondary
#CFE4AC
accent
#D5108A
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8951E4

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

Preview Lab → · Contrast checker → · Palette generator →

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