#951B90#951B90

#951B90 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.8% C 0.198 H 330.0°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#951B90
RGBrgb(149, 27, 144)
HSLhsl(302, 69%, 35%)
HSVhsv(302, 82%, 58%)
CMYKcmyk(0%, 81.9%, 3.4%, 41.6%)
CIE-LABlab(36.34, 60.55, -35.73)
CIE-LCHlch(36.34, 70.31, 329.45°)
OKLaboklab(47.77% 0.1715 -0.0988)
OKLCHoklch(47.77% 0.198 330)
XYZxyz(17.8203, 9.1885, 27.2151)
Luminance0.0919 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951B90 #1B9520
analogous
#5D1B95 #951B90 #951B53
triadic
#951B90 #90951B #1B9095
tetradic
#951B90 #955D1B #1B9520 #1B5395
square
#951B90 #955D1B #1B9520 #1B5395
split-complementary
#951B90 #53951B #1B955D
monochromatic
#2D082C #61125E #951B90 #C924C2 #DF4CD9

Accessibility & contrast

On white

7.40
#951B90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#951B90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951B90
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951B90#FFFFFF#000000##FFFFFF
##951B901.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014B93
Deuteranopia (green-blind)
#435B8D
Tritanopia (blue-blind)
#9B2E56
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #951b90;
/* rgb */ color: rgb(149, 27, 144);
/* oklch */ color: oklch(47.8% 0.198 330.0);
Tailwind
colors: {
  custom: {
    50: '#b868b1',
    500: '#951b90',
    950: '#000000',
  },
}
SCSS
$custom: #951b90;
$custom-light: #b868b1;
$custom-dark: #000000;
JSON
{
  "hex": "#951b90",
  "rgb": {
    "r": 149,
    "g": 27,
    "b": 144
  },
  "hsl": {
    "h": 302.459,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.47765,
    "c": 0.19794,
    "h": 330
  },
  "luminance": 0.09187
}

Semantic roles & 50–950 ramp

primary
#951B90
secondary
#4BC150
accent
#EC433C
background
#FBF6FA
surface
#F7ECF5
border
#D0C7CF
text
#120711
muted
#817A80

Preview Lab

Preview with #951B90

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

Preview Lab → · Contrast checker → · Palette generator →

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