#951EA8#951EA8

#951EA8 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.5% C 0.214 H 321.5°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#951EA8
RGBrgb(149, 30, 168)
HSLhsl(292, 70%, 39%)
HSVhsv(292, 82%, 66%)
CMYKcmyk(11.3%, 82.1%, 0%, 34.1%)
CIE-LABlab(38.10, 63.82, -47.46)
CIE-LCHlch(38.10, 79.53, 323.36°)
OKLaboklab(49.49% 0.1674 -0.1331)
OKLCHoklch(49.49% 0.214 321.5)
XYZxyz(19.9258, 10.1464, 37.9471)
Luminance0.1014 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951EA8 #31A81E
analogous
#501EA8 #951EA8 #A81E76
triadic
#951EA8 #A8951E #1EA895
tetradic
#951EA8 #A8501E #31A81E #1E76A8
square
#951EA8 #A8501E #31A81E #1E76A8
split-complementary
#951EA8 #76A81E #1EA850
monochromatic
#390B40 #671574 #951EA8 #C12AD9 #D05EE2

Accessibility & contrast

On white

6.93
#951EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#951EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #951EA8
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951EA8#FFFFFF#000000##FFFFFF
##951EA81.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AC
Deuteranopia (green-blind)
#325EA5
Tritanopia (blue-blind)
#963D65
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #951ea8;
/* rgb */ color: rgb(149, 30, 168);
/* oklch */ color: oklch(49.5% 0.214 321.5);
Tailwind
colors: {
  custom: {
    50: '#b86bc2',
    500: '#951ea8',
    950: '#000000',
  },
}
SCSS
$custom: #951ea8;
$custom-light: #b86bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#951ea8",
  "rgb": {
    "r": 149,
    "g": 30,
    "b": 168
  },
  "hsl": {
    "h": 291.739,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49487,
    "c": 0.21387,
    "h": 321.5
  },
  "luminance": 0.10145
}

Semantic roles & 50–950 ramp

primary
#951EA8
secondary
#6AC75B
accent
#ED3B54
background
#FBF6FC
surface
#F7ECF8
border
#D0C7D1
text
#120812
muted
#817A81

Preview Lab

Preview with #951EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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