#951F89#951F89

#951F89 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.6% C 0.189 H 332.8°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#951F89
RGBrgb(149, 31, 137)
HSLhsl(306, 66%, 35%)
HSVhsv(306, 79%, 58%)
CMYKcmyk(0%, 79.2%, 8.1%, 41.6%)
CIE-LABlab(36.32, 58.37, -31.46)
CIE-LCHlch(36.32, 66.31, 331.68°)
OKLaboklab(47.62% 0.1684 -0.0865)
OKLCHoklch(47.62% 0.189 332.8)
XYZxyz(17.3999, 9.1772, 24.5170)
Luminance0.0918 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951F89 #1F952B
analogous
#661F95 #951F89 #951F4E
triadic
#951F89 #89951F #1F8995
tetradic
#951F89 #95661F #1F952B #1F4E95
square
#951F89 #95661F #1F952B #1F4E95
split-complementary
#951F89 #4E951F #1F9566
monochromatic
#300A2C #62145A #951F89 #C82AB8 #DB53CD

Accessibility & contrast

On white

7.41
#951F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #951F89
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951F89#FFFFFF#000000##FFFFFF
##951F891.007.412.847.41
#FFFFFF7.411.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184B8C
Deuteranopia (green-blind)
#485B86
Tritanopia (blue-blind)
#9C2D53
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #951f89;
/* rgb */ color: rgb(149, 31, 137);
/* oklch */ color: oklch(47.6% 0.189 332.8);
Tailwind
colors: {
  custom: {
    50: '#b86aac',
    500: '#951f89',
    950: '#000000',
  },
}
SCSS
$custom: #951f89;
$custom-light: #b86aac;
$custom-dark: #000000;
JSON
{
  "hex": "#951f89",
  "rgb": {
    "r": 149,
    "g": 31,
    "b": 137
  },
  "hsl": {
    "h": 306.102,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47622,
    "c": 0.18927,
    "h": 332.8
  },
  "luminance": 0.09176
}

Semantic roles & 50–950 ramp

primary
#951F89
secondary
#51BF5C
accent
#E9513F
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #951F89

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

Preview Lab → · Contrast checker → · Palette generator →

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