#951BB4#951BB4

#951BB4 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.1% C 0.226 H 317.9°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#951BB4
RGBrgb(149, 27, 180)
HSLhsl(288, 74%, 41%)
HSVhsv(288, 85%, 71%)
CMYKcmyk(17.2%, 85%, 0%, 29.4%)
CIE-LABlab(38.67, 66.73, -53.70)
CIE-LCHlch(38.67, 85.65, 321.18°)
OKLaboklab(50.15% 0.1674 -0.1514)
OKLCHoklch(50.15% 0.226 317.9)
XYZxyz(21.0234, 10.4697, 44.0846)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951BB4 #3AB41B
analogous
#481BB4 #951BB4 #B41B86
triadic
#951BB4 #B4951B #1BB495
tetradic
#951BB4 #B4481B #3AB41B #1B86B4
square
#951BB4 #B4481B #3AB41B #1B86B4
split-complementary
#951BB4 #86B41B #1BB448
monochromatic
#3D0B4A #69137F #951BB4 #BB2DDF #CC62E7

Accessibility & contrast

On white

6.79
#951BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#951BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #951BB4
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951BB4#FFFFFF#000000##FFFFFF
##951BB41.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B8
Deuteranopia (green-blind)
#225FB1
Tritanopia (blue-blind)
#94426B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #951bb4;
/* rgb */ color: rgb(149, 27, 180);
/* oklch */ color: oklch(50.1% 0.226 317.9);
Tailwind
colors: {
  custom: {
    50: '#b96acb',
    500: '#951bb4',
    950: '#000000',
  },
}
SCSS
$custom: #951bb4;
$custom-light: #b96acb;
$custom-dark: #000000;
JSON
{
  "hex": "#951bb4",
  "rgb": {
    "r": 149,
    "g": 27,
    "b": 180
  },
  "hsl": {
    "h": 287.843,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50147,
    "c": 0.22565,
    "h": 317.9
  },
  "luminance": 0.10469
}

Semantic roles & 50–950 ramp

primary
#951BB4
secondary
#75CC5F
accent
#F1375D
background
#FBF6FC
surface
#F7ECF9
border
#D0C7D2
text
#120813
muted
#817A82

Preview Lab

Preview with #951BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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