#951BA0#951BA0

#951BA0 is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.8% C 0.210 H 324.3°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#951BA0
RGBrgb(149, 27, 160)
HSLhsl(295, 71%, 37%)
HSVhsv(295, 83%, 63%)
CMYKcmyk(6.9%, 83.1%, 0%, 37.3%)
CIE-LABlab(37.32, 63.19, -43.91)
CIE-LCHlch(37.32, 76.95, 325.20°)
OKLaboklab(48.77% 0.1705 -0.1227)
OKLCHoklch(48.77% 0.21 324.3)
XYZxyz(19.1310, 9.7128, 34.1180)
Luminance0.0971 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951BA0 #26A01B
analogous
#531BA0 #951BA0 #A01B69
triadic
#951BA0 #A0951B #1BA095
tetradic
#951BA0 #A0531B #26A01B #1B69A0
square
#951BA0 #A0531B #26A01B #1B69A0
split-complementary
#951BA0 #69A01B #1BA053
monochromatic
#330937 #64126C #951BA0 #C624D4 #D653E2

Accessibility & contrast

On white

7.14
#951BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#951BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951BA0
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951BA0#FFFFFF#000000##FFFFFF
##951BA01.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA3
Deuteranopia (green-blind)
#385C9D
Tritanopia (blue-blind)
#983760
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #951ba0;
/* rgb */ color: rgb(149, 27, 160);
/* oklch */ color: oklch(48.8% 0.210 324.3);
Tailwind
colors: {
  custom: {
    50: '#b869bd',
    500: '#951ba0',
    950: '#000000',
  },
}
SCSS
$custom: #951ba0;
$custom-light: #b869bd;
$custom-dark: #000000;
JSON
{
  "hex": "#951ba0",
  "rgb": {
    "r": 149,
    "g": 27,
    "b": 160
  },
  "hsl": {
    "h": 295.038,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4877,
    "c": 0.21,
    "h": 324.3
  },
  "luminance": 0.09711
}

Semantic roles & 50–950 ramp

primary
#951BA0
secondary
#5BC552
accent
#EE3A49
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #951BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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