#951885#951885

#951885 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.9% C 0.192 H 334.4°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#951885
RGBrgb(149, 24, 133)
HSLhsl(308, 72%, 34%)
HSVhsv(308, 84%, 58%)
CMYKcmyk(0%, 83.9%, 10.7%, 41.6%)
CIE-LABlab(35.47, 59.59, -30.33)
CIE-LCHlch(35.47, 66.86, 333.03°)
OKLaboklab(46.95% 0.1736 -0.0832)
OKLCHoklch(46.95% 0.192 334.4)
XYZxyz(16.9549, 8.7378, 22.9794)
Luminance0.0874 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951885 #189528
analogous
#671895 #951885 #951847
triadic
#951885 #859518 #188595
tetradic
#951885 #956718 #189528 #184795
square
#951885 #956718 #189528 #184795
split-complementary
#951885 #479518 #189567
monochromatic
#2C0727 #601056 #951885 #CA20B4 #E146CD

Accessibility & contrast

On white

7.64
#951885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#951885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951885
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951885#FFFFFF#000000##FFFFFF
##9518851.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154888
Deuteranopia (green-blind)
#485A82
Tritanopia (blue-blind)
#9C264F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #951885;
/* rgb */ color: rgb(149, 24, 133);
/* oklch */ color: oklch(46.9% 0.192 334.4);
Tailwind
colors: {
  custom: {
    50: '#b867a9',
    500: '#951885',
    950: '#000000',
  },
}
SCSS
$custom: #951885;
$custom-light: #b867a9;
$custom-dark: #000000;
JSON
{
  "hex": "#951885",
  "rgb": {
    "r": 149,
    "g": 24,
    "b": 133
  },
  "hsl": {
    "h": 307.68,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.46945,
    "c": 0.19249,
    "h": 334.4
  },
  "luminance": 0.08736
}

Semantic roles & 50–950 ramp

primary
#951885
secondary
#46C256
accent
#EF5039
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #951885

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

Preview Lab → · Contrast checker → · Palette generator →

#951885 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva