#951886#951886

#951886 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.0% C 0.193 H 334.0°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#951886
RGBrgb(149, 24, 134)
HSLhsl(307, 72%, 34%)
HSVhsv(307, 84%, 58%)
CMYKcmyk(0%, 83.9%, 10.1%, 41.6%)
CIE-LABlab(35.53, 59.74, -30.86)
CIE-LCHlch(35.53, 67.24, 332.68°)
OKLaboklab(47% 0.1736 -0.0847)
OKLCHoklch(47% 0.193 334)
XYZxyz(17.0243, 8.7656, 23.3450)
Luminance0.0876 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951886 #189527
analogous
#661895 #951886 #951848
triadic
#951886 #869518 #188695
tetradic
#951886 #956618 #189527 #184895
square
#951886 #956618 #189527 #184895
split-complementary
#951886 #489518 #189566
monochromatic
#2C0727 #601057 #951886 #CA20B5 #E146CF

Accessibility & contrast

On white

7.63
#951886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #951886
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951886#FFFFFF#000000##FFFFFF
##9518861.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134889
Deuteranopia (green-blind)
#485A83
Tritanopia (blue-blind)
#9C2750
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #951886;
/* rgb */ color: rgb(149, 24, 134);
/* oklch */ color: oklch(47.0% 0.193 334.0);
Tailwind
colors: {
  custom: {
    50: '#b867a9',
    500: '#951886',
    950: '#000000',
  },
}
SCSS
$custom: #951886;
$custom-light: #b867a9;
$custom-dark: #000000;
JSON
{
  "hex": "#951886",
  "rgb": {
    "r": 149,
    "g": 24,
    "b": 134
  },
  "hsl": {
    "h": 307.2,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.47002,
    "c": 0.19318,
    "h": 334
  },
  "luminance": 0.08764
}

Semantic roles & 50–950 ramp

primary
#951886
secondary
#46C255
accent
#EF4F39
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #951886

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

Preview Lab → · Contrast checker → · Palette generator →

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