#951EBC#951EBC

#951EBC is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.9% C 0.230 H 315.4°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#951EBC
RGBrgb(149, 30, 188)
HSLhsl(285, 72%, 43%)
HSVhsv(285, 84%, 74%)
CMYKcmyk(20.7%, 84%, 0%, 26.3%)
CIE-LABlab(39.50, 67.48, -57.09)
CIE-LCHlch(39.50, 88.39, 319.77°)
OKLaboklab(50.9% 0.1639 -0.1613)
OKLCHoklch(50.9% 0.23 315.4)
XYZxyz(21.9343, 10.9498, 48.5253)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951EBC #45BC1E
analogous
#461EBC #951EBC #BC1E94
triadic
#951EBC #BC951E #1EBC95
tetradic
#951EBC #BC461E #45BC1E #1E94BC
square
#951EBC #BC461E #45BC1E #1E94BC
split-complementary
#951EBC #94BC1E #1EBC46
monochromatic
#410D52 #6B1687 #951EBC #B638DF #C96DE8

Accessibility & contrast

On white

6.58
#951EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#951EBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #951EBC
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951EBC#FFFFFF#000000##FFFFFF
##951EBC1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#1460B9
Tritanopia (blue-blind)
#924770
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #951ebc;
/* rgb */ color: rgb(149, 30, 188);
/* oklch */ color: oklch(50.9% 0.230 315.4);
Tailwind
colors: {
  custom: {
    50: '#b96cd1',
    500: '#951ebc',
    950: '#000000',
  },
}
SCSS
$custom: #951ebc;
$custom-light: #b96cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#951ebc",
  "rgb": {
    "r": 149,
    "g": 30,
    "b": 188
  },
  "hsl": {
    "h": 285.19,
    "s": 72.477,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50903,
    "c": 0.22994,
    "h": 315.4
  },
  "luminance": 0.10949
}

Semantic roles & 50–950 ramp

primary
#951EBC
secondary
#81CE68
accent
#EF3966
background
#FBF6FC
surface
#F7ECF9
border
#D0C7D2
text
#120814
muted
#817A82

Preview Lab

Preview with #951EBC

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

Preview Lab → · Contrast checker → · Palette generator →

#951EBC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva