#952399#952399

#952399 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.9% C 0.198 H 326.6°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#952399
RGBrgb(149, 35, 153)
HSLhsl(298, 63%, 37%)
HSVhsv(298, 77%, 60%)
CMYKcmyk(2.6%, 77.1%, 0%, 40%)
CIE-LABlab(37.65, 59.79, -39.15)
CIE-LCHlch(37.65, 71.47, 326.79°)
OKLaboklab(48.86% 0.1649 -0.1088)
OKLCHoklch(48.86% 0.198 326.6)
XYZxyz(18.7449, 9.8928, 31.0530)
Luminance0.0989 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952399 #279923
analogous
#5A2399 #952399 #992362
triadic
#952399 #999523 #239995
tetradic
#952399 #995A23 #279923 #236299
square
#952399 #995A23 #279923 #236299
split-complementary
#952399 #629923 #23995A
monochromatic
#340C35 #641867 #952399 #C62ECB #D65DDA

Accessibility & contrast

On white

7.05
#952399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #952399
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952399#FFFFFF#000000##FFFFFF
##9523991.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509C
Deuteranopia (green-blind)
#415D96
Tritanopia (blue-blind)
#99385D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #952399;
/* rgb */ color: rgb(149, 35, 153);
/* oklch */ color: oklch(48.9% 0.198 326.6);
Tailwind
colors: {
  custom: {
    50: '#b86cb7',
    500: '#952399',
    950: '#000000',
  },
}
SCSS
$custom: #952399;
$custom-light: #b86cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#952399",
  "rgb": {
    "r": 149,
    "g": 35,
    "b": 153
  },
  "hsl": {
    "h": 297.966,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48863,
    "c": 0.19754,
    "h": 326.6
  },
  "luminance": 0.09892
}

Semantic roles & 50–950 ramp

primary
#952399
secondary
#5DBE59
accent
#E64248
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #952399

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

Preview Lab → · Contrast checker → · Palette generator →

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