#8951DD#8951DD

#8951DD is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.0% C 0.204 H 298.0°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#8951DD
RGBrgb(137, 81, 221)
HSLhsl(264, 67%, 59%)
HSVhsv(264, 63%, 87%)
CMYKcmyk(38%, 63.3%, 0%, 13.3%)
CIE-LABlab(47.52, 52.03, -63.23)
CIE-LCHlch(47.52, 81.89, 309.45°)
OKLaboklab(57.01% 0.0958 -0.1801)
OKLCHoklch(57.01% 0.204 298)
XYZxyz(26.3068, 16.4233, 70.1766)
Luminance0.1642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8951DD #A5DD51
analogous
#515FDD #8951DD #CF51DD
triadic
#8951DD #DD8951 #51DD89
tetradic
#8951DD #DD515F #A5DD51 #51DDCF
square
#8951DD #DD515F #A5DD51 #51DDCF
split-complementary
#8951DD #DDCF51 #5FDD51
monochromatic
#4E1D96 #6827C9 #8951DD #AC84E7 #CEB7F1

Accessibility & contrast

On white

4.90
#8951DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#8951DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8951DD
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8951DD#FFFFFF#000000##FFFFFF
##8951DD1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8951dd;
/* rgb */ color: rgb(137, 81, 221);
/* oklch */ color: oklch(57.0% 0.204 298.0);
Tailwind
colors: {
  custom: {
    50: '#b185e8',
    500: '#8951dd',
    950: '#000000',
  },
}
SCSS
$custom: #8951dd;
$custom-light: #b185e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8951dd",
  "rgb": {
    "r": 137,
    "g": 81,
    "b": 221
  },
  "hsl": {
    "h": 264,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.57013,
    "c": 0.20397,
    "h": 298
  },
  "luminance": 0.16424
}

Semantic roles & 50–950 ramp

primary
#8951DD
secondary
#CAE0AA
accent
#EA3EA5
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8951DD

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

Preview Lab → · Contrast checker → · Palette generator →

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