#8951DC#8951DC

#8951DC is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 56.9% C 0.203 H 298.2°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8951DC
RGBrgb(137, 81, 220)
HSLhsl(264, 67%, 59%)
HSVhsv(264, 63%, 86%)
CMYKcmyk(37.7%, 63.2%, 0%, 13.7%)
CIE-LABlab(47.46, 51.78, -62.78)
CIE-LCHlch(47.46, 81.37, 309.52°)
OKLaboklab(56.94% 0.0959 -0.1787)
OKLCHoklch(56.94% 0.203 298.2)
XYZxyz(26.1740, 16.3702, 69.4770)
Luminance0.1637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8951DC #A4DC51
analogous
#515FDC #8951DC #CF51DC
triadic
#8951DC #DC8951 #51DC89
tetradic
#8951DC #DC515F #A4DC51 #51DCCF
square
#8951DC #DC515F #A4DC51 #51DCCF
split-complementary
#8951DC #DCCF51 #5FDC51
monochromatic
#4E1E95 #6828C8 #8951DC #AC84E6 #CEB7F0

Accessibility & contrast

On white

4.91
#8951DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#8951DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8951DC
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8951DC#FFFFFF#000000##FFFFFF
##8951DC1.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E0
Deuteranopia (green-blind)
#006FD9
Tritanopia (blue-blind)
#76708F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8951dc;
/* rgb */ color: rgb(137, 81, 220);
/* oklch */ color: oklch(56.9% 0.203 298.2);
Tailwind
colors: {
  custom: {
    50: '#b185e8',
    500: '#8951dc',
    950: '#000000',
  },
}
SCSS
$custom: #8951dc;
$custom-light: #b185e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8951dc",
  "rgb": {
    "r": 137,
    "g": 81,
    "b": 220
  },
  "hsl": {
    "h": 264.173,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.56942,
    "c": 0.20281,
    "h": 298.2
  },
  "luminance": 0.16371
}

Semantic roles & 50–950 ramp

primary
#8951DC
secondary
#CAE0A9
accent
#E93EA5
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8951DC

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

Preview Lab → · Contrast checker → · Palette generator →

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