#951F94#951F94

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

Color values

HEX#951F94
RGBrgb(149, 31, 148)
HSLhsl(301, 66%, 35%)
HSVhsv(301, 79%, 58%)
CMYKcmyk(0%, 79.2%, 0.7%, 41.6%)
CIE-LABlab(36.95, 60.13, -37.22)
CIE-LCHlch(36.95, 70.72, 328.24°)
OKLaboklab(48.27% 0.1684 -0.1032)
OKLCHoklch(48.27% 0.197 328.5)
XYZxyz(18.2295, 9.5090, 28.8865)
Luminance0.0951 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951F94 #1F9520
analogous
#5B1F95 #951F94 #951F59
triadic
#951F94 #94951F #1F9495
tetradic
#951F94 #955B1F #1F9520 #1F5995
square
#951F94 #955B1F #1F9520 #1F5995
split-complementary
#951F94 #59951F #1F955B
monochromatic
#300A2F #621462 #951F94 #C82AC6 #DB53DA

Accessibility & contrast

On white

7.24
#951F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#951F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951F94
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951F94#FFFFFF#000000##FFFFFF
##951F941.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D97
Deuteranopia (green-blind)
#425C91
Tritanopia (blue-blind)
#9A3359
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #951f94;
/* rgb */ color: rgb(149, 31, 148);
/* oklch */ color: oklch(48.3% 0.197 328.5);
Tailwind
colors: {
  custom: {
    50: '#b86ab4',
    500: '#951f94',
    950: '#000000',
  },
}
SCSS
$custom: #951f94;
$custom-light: #b86ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#951f94",
  "rgb": {
    "r": 149,
    "g": 31,
    "b": 148
  },
  "hsl": {
    "h": 300.508,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.48268,
    "c": 0.19746,
    "h": 328.5
  },
  "luminance": 0.09508
}

Semantic roles & 50–950 ramp

primary
#951F94
secondary
#51BF52
accent
#E9413F
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #951F94

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

Preview Lab → · Contrast checker → · Palette generator →

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