#951F90#951F90

#951F90 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.0% C 0.194 H 330.0°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#951F90
RGBrgb(149, 31, 144)
HSLhsl(303, 66%, 35%)
HSVhsv(303, 79%, 58%)
CMYKcmyk(0%, 79.2%, 3.4%, 41.6%)
CIE-LABlab(36.71, 59.48, -35.15)
CIE-LCHlch(36.71, 69.09, 329.42°)
OKLaboklab(48.03% 0.1684 -0.0972)
OKLCHoklch(48.03% 0.194 330)
XYZxyz(17.9184, 9.3846, 27.2478)
Luminance0.0938 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951F90 #1F9524
analogous
#5F1F95 #951F90 #951F55
triadic
#951F90 #90951F #1F9095
tetradic
#951F90 #955F1F #1F9524 #1F5595
square
#951F90 #955F1F #1F9524 #1F5595
split-complementary
#951F90 #55951F #1F955F
monochromatic
#300A2E #62145F #951F90 #C82AC1 #DB53D5

Accessibility & contrast

On white

7.30
#951F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#951F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951F90
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951F90#FFFFFF#000000##FFFFFF
##951F901.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4C93
Deuteranopia (green-blind)
#445C8D
Tritanopia (blue-blind)
#9B3157
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #951f90;
/* rgb */ color: rgb(149, 31, 144);
/* oklch */ color: oklch(48.0% 0.194 330.0);
Tailwind
colors: {
  custom: {
    50: '#b86ab1',
    500: '#951f90',
    950: '#000000',
  },
}
SCSS
$custom: #951f90;
$custom-light: #b86ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#951f90",
  "rgb": {
    "r": 149,
    "g": 31,
    "b": 144
  },
  "hsl": {
    "h": 302.542,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.48028,
    "c": 0.19444,
    "h": 330
  },
  "luminance": 0.09383
}

Semantic roles & 50–950 ramp

primary
#951F90
secondary
#51BF56
accent
#E9463F
background
#FBF6FA
surface
#F7ECF5
border
#D0C7CF
text
#120711
muted
#817A80

Preview Lab

Preview with #951F90

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

Preview Lab → · Contrast checker → · Palette generator →

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