#951F8E#951F8E

#951F8E is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.9% C 0.193 H 330.8°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#951F8E
RGBrgb(149, 31, 142)
HSLhsl(304, 66%, 35%)
HSVhsv(304, 79%, 58%)
CMYKcmyk(0%, 79.2%, 4.7%, 41.6%)
CIE-LABlab(36.60, 59.16, -34.10)
CIE-LCHlch(36.60, 68.28, 330.04°)
OKLaboklab(47.91% 0.1684 -0.0941)
OKLCHoklch(47.91% 0.193 330.8)
XYZxyz(17.7669, 9.3240, 26.4499)
Luminance0.0932 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951F8E #1F9526
analogous
#611F95 #951F8E #951F53
triadic
#951F8E #8E951F #1F8E95
tetradic
#951F8E #95611F #1F9526 #1F5395
square
#951F8E #95611F #1F9526 #1F5395
split-complementary
#951F8E #53951F #1F9561
monochromatic
#300A2D #62145E #951F8E #C82ABE #DB53D3

Accessibility & contrast

On white

7.33
#951F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #951F8E
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951F8E#FFFFFF#000000##FFFFFF
##951F8E1.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4C91
Deuteranopia (green-blind)
#465C8B
Tritanopia (blue-blind)
#9B3056
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #951f8e;
/* rgb */ color: rgb(149, 31, 142);
/* oklch */ color: oklch(47.9% 0.193 330.8);
Tailwind
colors: {
  custom: {
    50: '#b86aaf',
    500: '#951f8e',
    950: '#000000',
  },
}
SCSS
$custom: #951f8e;
$custom-light: #b86aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#951f8e",
  "rgb": {
    "r": 149,
    "g": 31,
    "b": 142
  },
  "hsl": {
    "h": 303.559,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4791,
    "c": 0.19295,
    "h": 330.8
  },
  "luminance": 0.09323
}

Semantic roles & 50–950 ramp

primary
#951F8E
secondary
#51BF58
accent
#E9493F
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #951F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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