#8951DE#8951DE

#8951DE is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.1% C 0.205 H 297.8°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8951DE
RGBrgb(137, 81, 222)
HSLhsl(264, 68%, 59%)
HSVhsv(264, 64%, 87%)
CMYKcmyk(38.3%, 63.5%, 0%, 12.9%)
CIE-LABlab(47.59, 52.29, -63.69)
CIE-LCHlch(47.59, 82.40, 309.38°)
OKLaboklab(57.08% 0.0957 -0.1814)
OKLCHoklch(57.08% 0.205 297.8)
XYZxyz(26.4404, 16.4768, 70.8804)
Luminance0.1648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8951DE #A6DE51
analogous
#5160DE #8951DE #D051DE
triadic
#8951DE #DE8951 #51DE89
tetradic
#8951DE #DE5160 #A6DE51 #51DED0
square
#8951DE #DE5160 #A6DE51 #51DED0
split-complementary
#8951DE #DED051 #60DE51
monochromatic
#4E1D98 #6827CB #8951DE #AC84E8 #CFB8F2

Accessibility & contrast

On white

4.89
#8951DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#8951DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8951DE
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8951DE#FFFFFF#000000##FFFFFF
##8951DE1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E2
Deuteranopia (green-blind)
#006FDB
Tritanopia (blue-blind)
#757190
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8951de;
/* rgb */ color: rgb(137, 81, 222);
/* oklch */ color: oklch(57.1% 0.205 297.8);
Tailwind
colors: {
  custom: {
    50: '#b185e9',
    500: '#8951de',
    950: '#000000',
  },
}
SCSS
$custom: #8951de;
$custom-light: #b185e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8951de",
  "rgb": {
    "r": 137,
    "g": 81,
    "b": 222
  },
  "hsl": {
    "h": 263.83,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57084,
    "c": 0.20511,
    "h": 297.8
  },
  "luminance": 0.16477
}

Semantic roles & 50–950 ramp

primary
#8951DE
secondary
#CBE1AA
accent
#EB3DA6
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8951DE

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

Preview Lab → · Contrast checker → · Palette generator →

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