#951F93#951F93

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

Color values

HEX#951F93
RGBrgb(149, 31, 147)
HSLhsl(301, 66%, 35%)
HSVhsv(301, 79%, 58%)
CMYKcmyk(0%, 79.2%, 1.3%, 41.6%)
CIE-LABlab(36.89, 59.97, -36.71)
CIE-LCHlch(36.89, 70.31, 328.53°)
OKLaboklab(48.21% 0.1684 -0.1017)
OKLCHoklch(48.21% 0.197 328.9)
XYZxyz(18.1507, 9.4775, 28.4715)
Luminance0.0948 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951F93 #1F9521
analogous
#5C1F95 #951F93 #951F58
triadic
#951F93 #93951F #1F9395
tetradic
#951F93 #955C1F #1F9521 #1F5895
square
#951F93 #955C1F #1F9521 #1F5895
split-complementary
#951F93 #58951F #1F955C
monochromatic
#300A2F #621461 #951F93 #C82AC5 #DB53D9

Accessibility & contrast

On white

7.25
#951F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #951F93
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951F93#FFFFFF#000000##FFFFFF
##951F931.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014D96
Deuteranopia (green-blind)
#435C90
Tritanopia (blue-blind)
#9A3259
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #951f93;
/* rgb */ color: rgb(149, 31, 147);
/* oklch */ color: oklch(48.2% 0.197 328.9);
Tailwind
colors: {
  custom: {
    50: '#b86ab3',
    500: '#951f93',
    950: '#000000',
  },
}
SCSS
$custom: #951f93;
$custom-light: #b86ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#951f93",
  "rgb": {
    "r": 149,
    "g": 31,
    "b": 147
  },
  "hsl": {
    "h": 301.017,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.48207,
    "c": 0.1967,
    "h": 328.9
  },
  "luminance": 0.09476
}

Semantic roles & 50–950 ramp

primary
#951F93
secondary
#51BF53
accent
#E9423F
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #951F93

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

Preview Lab → · Contrast checker → · Palette generator →

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