#8951E0#8951E0

#8951E0 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.2% C 0.207 H 297.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8951E0
RGBrgb(137, 81, 224)
HSLhsl(263, 70%, 60%)
HSVhsv(263, 64%, 88%)
CMYKcmyk(38.8%, 63.8%, 0%, 12.2%)
CIE-LABlab(47.73, 52.80, -64.60)
CIE-LCHlch(47.73, 83.43, 309.26°)
OKLaboklab(57.23% 0.0955 -0.1841)
OKLCHoklch(57.23% 0.207 297.4)
XYZxyz(26.7101, 16.5846, 72.3005)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8951E0 #A8E051
analogous
#5160E0 #8951E0 #D151E0
triadic
#8951E0 #E08951 #51E089
tetradic
#8951E0 #E05160 #A8E051 #51E0D1
square
#8951E0 #E05160 #A8E051 #51E0D1
split-complementary
#8951E0 #E0D151 #60E051
monochromatic
#4D1C9B #6725CF #8951E0 #AC85E9 #CFB9F3

Accessibility & contrast

On white

4.86
#8951E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#8951E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8951E0
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8951E0#FFFFFF#000000##FFFFFF
##8951E01.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E4
Deuteranopia (green-blind)
#0070DD
Tritanopia (blue-blind)
#747291
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8951e0;
/* rgb */ color: rgb(137, 81, 224);
/* oklch */ color: oklch(57.2% 0.207 297.4);
Tailwind
colors: {
  custom: {
    50: '#b185eb',
    500: '#8951e0',
    950: '#000000',
  },
}
SCSS
$custom: #8951e0;
$custom-light: #b185eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8951e0",
  "rgb": {
    "r": 137,
    "g": 81,
    "b": 224
  },
  "hsl": {
    "h": 263.497,
    "s": 69.756,
    "l": 59.804
  },
  "oklch": {
    "l": 0.57228,
    "c": 0.2074,
    "h": 297.4
  },
  "luminance": 0.16585
}

Semantic roles & 50–950 ramp

primary
#8951E0
secondary
#CCE2AB
accent
#ED3BA7
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8951E0

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

Preview Lab → · Contrast checker → · Palette generator →

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