#8951D9#8951D9

#8951D9 is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.7% C 0.199 H 298.8°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8951D9
RGBrgb(137, 81, 217)
HSLhsl(265, 64%, 58%)
HSVhsv(265, 63%, 85%)
CMYKcmyk(36.9%, 62.7%, 0%, 14.9%)
CIE-LABlab(47.25, 51.02, -61.40)
CIE-LCHlch(47.25, 79.83, 309.73°)
OKLaboklab(56.73% 0.0961 -0.1747)
OKLCHoklch(56.73% 0.199 298.8)
XYZxyz(25.7802, 16.2127, 67.4033)
Luminance0.1621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8951D9 #A1D951
analogous
#515DD9 #8951D9 #CD51D9
triadic
#8951D9 #D98951 #51D989
tetradic
#8951D9 #D9515D #A1D951 #51D9CD
square
#8951D9 #D9515D #A1D951 #51D9CD
split-complementary
#8951D9 #D9CD51 #5DD951
monochromatic
#4E1F90 #692AC2 #8951D9 #AB83E4 #CDB5EF

Accessibility & contrast

On white

4.95
#8951D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#8951D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8951D9
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8951D9#FFFFFF#000000##FFFFFF
##8951D91.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DD
Deuteranopia (green-blind)
#0E6FD6
Tritanopia (blue-blind)
#776F8E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8951d9;
/* rgb */ color: rgb(137, 81, 217);
/* oklch */ color: oklch(56.7% 0.199 298.8);
Tailwind
colors: {
  custom: {
    50: '#b185e6',
    500: '#8951d9',
    950: '#000000',
  },
}
SCSS
$custom: #8951d9;
$custom-light: #b185e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8951d9",
  "rgb": {
    "r": 137,
    "g": 81,
    "b": 217
  },
  "hsl": {
    "h": 264.706,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.56729,
    "c": 0.19937,
    "h": 298.8
  },
  "luminance": 0.16213
}

Semantic roles & 50–950 ramp

primary
#8951D9
secondary
#C8DEA8
accent
#E741A3
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8951D9

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

Preview Lab → · Contrast checker → · Palette generator →

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