#952796#952796

#952796 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 49.0% C 0.191 H 327.6°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#952796
RGBrgb(149, 39, 150)
HSLhsl(299, 59%, 37%)
HSVhsv(299, 74%, 59%)
CMYKcmyk(0.7%, 74%, 0%, 41.2%)
CIE-LABlab(37.92, 58.00, -36.89)
CIE-LCHlch(37.92, 68.74, 327.54°)
OKLaboklab(49% 0.1613 -0.1023)
OKLCHoklch(49% 0.191 327.6)
XYZxyz(18.6247, 10.0439, 29.8060)
Luminance0.1004 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952796 #289627
analogous
#5D2796 #952796 #962760
triadic
#952796 #969527 #279695
tetradic
#952796 #965D27 #289627 #276096
square
#952796 #965D27 #289627 #276096
split-complementary
#952796 #609627 #27965D
monochromatic
#350E35 #651A65 #952796 #C534C7 #D561D6

Accessibility & contrast

On white

6.98
#952796 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#952796 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952796
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952796#FFFFFF#000000##FFFFFF
##9527961.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5099
Deuteranopia (green-blind)
#445E93
Tritanopia (blue-blind)
#9A395C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #952796;
/* rgb */ color: rgb(149, 39, 150);
/* oklch */ color: oklch(49.0% 0.191 327.6);
Tailwind
colors: {
  custom: {
    50: '#b86db5',
    500: '#952796',
    950: '#000000',
  },
}
SCSS
$custom: #952796;
$custom-light: #b86db5;
$custom-dark: #000000;
JSON
{
  "hex": "#952796",
  "rgb": {
    "r": 149,
    "g": 39,
    "b": 150
  },
  "hsl": {
    "h": 299.459,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49001,
    "c": 0.19103,
    "h": 327.6
  },
  "luminance": 0.10043
}

Semantic roles & 50–950 ramp

primary
#952796
secondary
#5EBC5D
accent
#E24647
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #952796

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

Preview Lab → · Contrast checker → · Palette generator →

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