#951796#951796

#951796 is a mid, highly saturated purple. Relative luminance 0.092; OKLCH L 47.9% C 0.205 H 327.8°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#951796
RGBrgb(149, 23, 150)
HSLhsl(300, 73%, 34%)
HSVhsv(300, 85%, 59%)
CMYKcmyk(0.7%, 84.7%, 0%, 41.2%)
CIE-LABlab(36.38, 62.46, -39.35)
CIE-LCHlch(36.38, 73.82, 327.79°)
OKLaboklab(47.9% 0.1739 -0.1093)
OKLCHoklch(47.9% 0.205 327.8)
XYZxyz(18.2056, 9.2057, 29.6663)
Luminance0.0920 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951796 #189617
analogous
#561796 #951796 #961758
triadic
#951796 #969517 #179695
tetradic
#951796 #965617 #189617 #175896
square
#951796 #965617 #189617 #175896
split-complementary
#951796 #589617 #179656
monochromatic
#2C072C #600F61 #951796 #CA1FCB #E145E2

Accessibility & contrast

On white

7.39
#951796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#951796 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951796
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951796#FFFFFF#000000##FFFFFF
##9517961.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C99
Deuteranopia (green-blind)
#3E5B93
Tritanopia (blue-blind)
#9A3059
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #951796;
/* rgb */ color: rgb(149, 23, 150);
/* oklch */ color: oklch(47.9% 0.205 327.8);
Tailwind
colors: {
  custom: {
    50: '#b868b5',
    500: '#951796',
    950: '#000000',
  },
}
SCSS
$custom: #951796;
$custom-light: #b868b5;
$custom-dark: #000000;
JSON
{
  "hex": "#951796",
  "rgb": {
    "r": 149,
    "g": 23,
    "b": 150
  },
  "hsl": {
    "h": 299.528,
    "s": 73.41,
    "l": 33.922
  },
  "oklch": {
    "l": 0.47903,
    "c": 0.20543,
    "h": 327.8
  },
  "luminance": 0.09204
}

Semantic roles & 50–950 ramp

primary
#951796
secondary
#46C345
accent
#F03839
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #951796

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

Preview Lab → · Contrast checker → · Palette generator →

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