#951F9A#951F9A

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

Color values

HEX#951F9A
RGBrgb(149, 31, 154)
HSLhsl(298, 66%, 36%)
HSVhsv(298, 80%, 60%)
CMYKcmyk(3.2%, 79.9%, 0%, 39.6%)
CIE-LABlab(37.31, 61.13, -40.30)
CIE-LCHlch(37.31, 73.22, 326.60°)
OKLaboklab(48.64% 0.1681 -0.1122)
OKLCHoklch(48.64% 0.202 326.3)
XYZxyz(18.7168, 9.7039, 31.4528)
Luminance0.0970 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951F9A #249A1F
analogous
#581F9A #951F9A #9A1F62
triadic
#951F9A #9A951F #1F9A95
tetradic
#951F9A #9A581F #249A1F #1F629A
square
#951F9A #9A581F #249A1F #1F629A
split-complementary
#951F9A #629A1F #1F9A58
monochromatic
#320A34 #641567 #951F9A #C629CD #D856DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##951F9A#FFFFFF#000000##FFFFFF
##951F9A1.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)
#004F9D
Deuteranopia (green-blind)
#3E5D97
Tritanopia (blue-blind)
#99365D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #951f9a;
/* rgb */ color: rgb(149, 31, 154);
/* oklch */ color: oklch(48.6% 0.202 326.3);
Tailwind
colors: {
  custom: {
    50: '#b86ab8',
    500: '#951f9a',
    950: '#000000',
  },
}
SCSS
$custom: #951f9a;
$custom-light: #b86ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#951f9a",
  "rgb": {
    "r": 149,
    "g": 31,
    "b": 154
  },
  "hsl": {
    "h": 297.561,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48639,
    "c": 0.20206,
    "h": 326.3
  },
  "luminance": 0.09703
}

Semantic roles & 50–950 ramp

primary
#951F9A
secondary
#59C154
accent
#E93E45
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #951F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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