#8951DF#8951DF

#8951DF is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.2% C 0.206 H 297.6°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#8951DF
RGBrgb(137, 81, 223)
HSLhsl(264, 69%, 60%)
HSVhsv(264, 64%, 87%)
CMYKcmyk(38.6%, 63.7%, 0%, 12.5%)
CIE-LABlab(47.66, 52.54, -64.15)
CIE-LCHlch(47.66, 82.92, 309.32°)
OKLaboklab(57.16% 0.0956 -0.1827)
OKLCHoklch(57.16% 0.206 297.6)
XYZxyz(26.5748, 16.5305, 71.5883)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8951DF #A7DF51
analogous
#5160DF #8951DF #D051DF
triadic
#8951DF #DF8951 #51DF89
tetradic
#8951DF #DF5160 #A7DF51 #51DFD0
square
#8951DF #DF5160 #A7DF51 #51DFD0
split-complementary
#8951DF #DFD051 #60DF51
monochromatic
#4E1C99 #6826CD #8951DF #AC85E9 #CFB8F2

Accessibility & contrast

On white

4.88
#8951DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#8951DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8951DF
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8951DF#FFFFFF#000000##FFFFFF
##8951DF1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E3
Deuteranopia (green-blind)
#006FDC
Tritanopia (blue-blind)
#747191
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8951df;
/* rgb */ color: rgb(137, 81, 223);
/* oklch */ color: oklch(57.2% 0.206 297.6);
Tailwind
colors: {
  custom: {
    50: '#b185ea',
    500: '#8951df',
    950: '#000000',
  },
}
SCSS
$custom: #8951df;
$custom-light: #b185ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8951df",
  "rgb": {
    "r": 137,
    "g": 81,
    "b": 223
  },
  "hsl": {
    "h": 263.662,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.57156,
    "c": 0.20625,
    "h": 297.6
  },
  "luminance": 0.16531
}

Semantic roles & 50–950 ramp

primary
#8951DF
secondary
#CCE1AA
accent
#EC3CA6
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8951DF

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

Preview Lab → · Contrast checker → · Palette generator →

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