#952596#952596

#952596 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.8% C 0.193 H 327.7°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#952596
RGBrgb(149, 37, 150)
HSLhsl(299, 60%, 37%)
HSVhsv(299, 75%, 59%)
CMYKcmyk(0.7%, 75.3%, 0%, 41.2%)
CIE-LABlab(37.69, 58.66, -37.26)
CIE-LCHlch(37.69, 69.49, 327.58°)
OKLaboklab(48.84% 0.1632 -0.1033)
OKLCHoklch(48.84% 0.193 327.7)
XYZxyz(18.5608, 9.9160, 29.7846)
Luminance0.0992 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952596 #269625
analogous
#5D2596 #952596 #96255F
triadic
#952596 #969525 #259695
tetradic
#952596 #965D25 #269625 #255F96
square
#952596 #965D25 #269625 #255F96
split-complementary
#952596 #5F9625 #25965D
monochromatic
#330D34 #641965 #952596 #C631C7 #D65ED7

Accessibility & contrast

On white

7.04
#952596 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#952596 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952596
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952596#FFFFFF#000000##FFFFFF
##9525961.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#095099
Deuteranopia (green-blind)
#435E93
Tritanopia (blue-blind)
#9A375C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #952596;
/* rgb */ color: rgb(149, 37, 150);
/* oklch */ color: oklch(48.8% 0.193 327.7);
Tailwind
colors: {
  custom: {
    50: '#b86cb5',
    500: '#952596',
    950: '#000000',
  },
}
SCSS
$custom: #952596;
$custom-light: #b86cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#952596",
  "rgb": {
    "r": 149,
    "g": 37,
    "b": 150
  },
  "hsl": {
    "h": 299.469,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48836,
    "c": 0.19315,
    "h": 327.7
  },
  "luminance": 0.09915
}

Semantic roles & 50–950 ramp

primary
#952596
secondary
#5BBC5B
accent
#E44446
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #952596

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

Preview Lab → · Contrast checker → · Palette generator →

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