#952299#952299

#952299 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.8% C 0.199 H 326.6°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#952299
RGBrgb(149, 34, 153)
HSLhsl(298, 64%, 37%)
HSVhsv(298, 78%, 60%)
CMYKcmyk(2.6%, 77.8%, 0%, 40%)
CIE-LABlab(37.54, 60.09, -39.32)
CIE-LCHlch(37.54, 71.81, 326.81°)
OKLaboklab(48.79% 0.1657 -0.1093)
OKLCHoklch(48.79% 0.199 326.6)
XYZxyz(18.7159, 9.8348, 31.0434)
Luminance0.0983 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952299 #269922
analogous
#5A2299 #952299 #992262
triadic
#952299 #999522 #229995
tetradic
#952299 #995A22 #269922 #226299
square
#952299 #995A22 #269922 #226299
split-complementary
#952299 #629922 #22995A
monochromatic
#330C35 #641767 #952299 #C62DCB #D65BDB

Accessibility & contrast

On white

7.08
#952299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#952299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952299
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952299#FFFFFF#000000##FFFFFF
##9522991.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#405D96
Tritanopia (blue-blind)
#99375D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #952299;
/* rgb */ color: rgb(149, 34, 153);
/* oklch */ color: oklch(48.8% 0.199 326.6);
Tailwind
colors: {
  custom: {
    50: '#b86bb7',
    500: '#952299',
    950: '#000000',
  },
}
SCSS
$custom: #952299;
$custom-light: #b86bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#952299",
  "rgb": {
    "r": 149,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 297.983,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48789,
    "c": 0.19851,
    "h": 326.6
  },
  "luminance": 0.09834
}

Semantic roles & 50–950 ramp

primary
#952299
secondary
#5BBF58
accent
#E74147
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #952299

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

Preview Lab → · Contrast checker → · Palette generator →

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