#952CAF#952CAF

#952CAF is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.0% C 0.206 H 318.7°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#952CAF
RGBrgb(149, 44, 175)
HSLhsl(288, 60%, 43%)
HSVhsv(288, 75%, 69%)
CMYKcmyk(14.9%, 74.9%, 0%, 31.4%)
CIE-LABlab(40.06, 60.79, -48.49)
CIE-LCHlch(40.06, 77.76, 321.42°)
OKLaboklab(51.02% 0.1552 -0.1362)
OKLCHoklch(51.02% 0.206 318.7)
XYZxyz(21.0319, 11.2871, 41.6199)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952CAF #46AF2C
analogous
#542CAF #952CAF #AF2C87
triadic
#952CAF #AF952C #2CAF95
tetradic
#952CAF #AF542C #46AF2C #2C87AF
square
#952CAF #AF542C #46AF2C #2C87AF
split-complementary
#952CAF #87AF2C #2CAF54
monochromatic
#42134D #6B207E #952CAF #B647D1 #C978DD

Accessibility & contrast

On white

6.45
#952CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#952CAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952CAF
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952CAF#FFFFFF#000000##FFFFFF
##952CAF1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#3462AC
Tritanopia (blue-blind)
#95476C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #952caf;
/* rgb */ color: rgb(149, 44, 175);
/* oklch */ color: oklch(51.0% 0.206 318.7);
Tailwind
colors: {
  custom: {
    50: '#b870c7',
    500: '#952caf',
    950: '#000000',
  },
}
SCSS
$custom: #952caf;
$custom-light: #b870c7;
$custom-dark: #000000;
JSON
{
  "hex": "#952caf",
  "rgb": {
    "r": 149,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 288.092,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51016,
    "c": 0.20644,
    "h": 318.7
  },
  "luminance": 0.11286
}

Semantic roles & 50–950 ramp

primary
#952CAF
secondary
#82C572
accent
#E34564
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #952CAF

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

Preview Lab → · Contrast checker → · Palette generator →

#952CAF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva