#951888#951888

#951888 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.1% C 0.195 H 333.2°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#951888
RGBrgb(149, 24, 136)
HSLhsl(306, 72%, 34%)
HSVhsv(306, 84%, 58%)
CMYKcmyk(0%, 83.9%, 8.7%, 41.6%)
CIE-LABlab(35.64, 60.04, -31.93)
CIE-LCHlch(35.64, 68.00, 332.00°)
OKLaboklab(47.12% 0.1737 -0.0878)
OKLCHoklch(47.12% 0.195 333.2)
XYZxyz(17.1651, 8.8219, 24.0866)
Luminance0.0882 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951888 #189525
analogous
#641895 #951888 #95184A
triadic
#951888 #889518 #188895
tetradic
#951888 #956418 #189525 #184A95
square
#951888 #956418 #189525 #184A95
split-complementary
#951888 #4A9518 #189564
monochromatic
#2C0728 #601058 #951888 #CA20B8 #E146D1

Accessibility & contrast

On white

7.60
#951888 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#951888 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951888
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951888#FFFFFF#000000##FFFFFF
##9518881.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F498B
Deuteranopia (green-blind)
#475A85
Tritanopia (blue-blind)
#9C2851
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #951888;
/* rgb */ color: rgb(149, 24, 136);
/* oklch */ color: oklch(47.1% 0.195 333.2);
Tailwind
colors: {
  custom: {
    50: '#b867ab',
    500: '#951888',
    950: '#000000',
  },
}
SCSS
$custom: #951888;
$custom-light: #b867ab;
$custom-dark: #000000;
JSON
{
  "hex": "#951888",
  "rgb": {
    "r": 149,
    "g": 24,
    "b": 136
  },
  "hsl": {
    "h": 306.24,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.47116,
    "c": 0.19459,
    "h": 333.2
  },
  "luminance": 0.0882
}

Semantic roles & 50–950 ramp

primary
#951888
secondary
#46C253
accent
#EF4C39
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #951888

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

Preview Lab → · Contrast checker → · Palette generator →

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