#951B94#951B94

#951B94 is a mid, highly saturated purple. Relative luminance 0.093; OKLCH L 48.0% C 0.201 H 328.5°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#951B94
RGBrgb(149, 27, 148)
HSLhsl(300, 69%, 35%)
HSVhsv(300, 82%, 58%)
CMYKcmyk(0%, 81.9%, 0.7%, 41.6%)
CIE-LABlab(36.58, 61.19, -37.81)
CIE-LCHlch(36.58, 71.93, 328.29°)
OKLaboklab(48.01% 0.1714 -0.1049)
OKLCHoklch(48.01% 0.201 328.5)
XYZxyz(18.1315, 9.3129, 28.8538)
Luminance0.0931 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951B94 #1B951C
analogous
#591B95 #951B94 #951B57
triadic
#951B94 #94951B #1B9495
tetradic
#951B94 #95591B #1B951C #1B5795
square
#951B94 #95591B #1B951C #1B5795
split-complementary
#951B94 #57951B #1B9559
monochromatic
#2D082D #611261 #951B94 #C924C7 #DF4CDD

Accessibility & contrast

On white

7.34
#951B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#951B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951B94
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951B94#FFFFFF#000000##FFFFFF
##951B941.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C97
Deuteranopia (green-blind)
#415B91
Tritanopia (blue-blind)
#9A3159
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #951b94;
/* rgb */ color: rgb(149, 27, 148);
/* oklch */ color: oklch(48.0% 0.201 328.5);
Tailwind
colors: {
  custom: {
    50: '#b869b4',
    500: '#951b94',
    950: '#000000',
  },
}
SCSS
$custom: #951b94;
$custom-light: #b869b4;
$custom-dark: #000000;
JSON
{
  "hex": "#951b94",
  "rgb": {
    "r": 149,
    "g": 27,
    "b": 148
  },
  "hsl": {
    "h": 300.492,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.48007,
    "c": 0.20091,
    "h": 328.5
  },
  "luminance": 0.09312
}

Semantic roles & 50–950 ramp

primary
#951B94
secondary
#4BC14C
accent
#EC3D3C
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #951B94

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

Preview Lab → · Contrast checker → · Palette generator →

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