#951F95#951F95

#951F95 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.3% C 0.198 H 328.1°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#951F95
RGBrgb(149, 31, 149)
HSLhsl(300, 66%, 35%)
HSVhsv(300, 79%, 58%)
CMYKcmyk(0%, 79.2%, 0%, 41.6%)
CIE-LABlab(37.01, 60.29, -37.74)
CIE-LCHlch(37.01, 71.13, 327.96°)
OKLaboklab(48.33% 0.1683 -0.1047)
OKLCHoklch(48.33% 0.198 328.1)
XYZxyz(18.3090, 9.5408, 29.3052)
Luminance0.0954 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951F95 #1F951F
analogous
#5A1F95 #951F95 #951F5A
triadic
#951F95 #95951F #1F9595
tetradic
#951F95 #955A1F #1F951F #1F5A95
square
#951F95 #955A1F #1F951F #1F5A95
split-complementary
#951F95 #5A951F #1F955A
monochromatic
#300A30 #621462 #951F95 #C82AC8 #DB53DB

Accessibility & contrast

On white

7.22
#951F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#951F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951F95
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951F95#FFFFFF#000000##FFFFFF
##951F951.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D98
Deuteranopia (green-blind)
#425C92
Tritanopia (blue-blind)
#9A335A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #951f95;
/* rgb */ color: rgb(149, 31, 149);
/* oklch */ color: oklch(48.3% 0.198 328.1);
Tailwind
colors: {
  custom: {
    50: '#b86ab5',
    500: '#951f95',
    950: '#000000',
  },
}
SCSS
$custom: #951f95;
$custom-light: #b86ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#951f95",
  "rgb": {
    "r": 149,
    "g": 31,
    "b": 149
  },
  "hsl": {
    "h": 300,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.48329,
    "c": 0.19823,
    "h": 328.1
  },
  "luminance": 0.09539
}

Semantic roles & 50–950 ramp

primary
#951F95
secondary
#51BF51
accent
#E93F3F
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #951F95

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

Preview Lab → · Contrast checker → · Palette generator →

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