#952CA8#952CA8

#952CA8 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.6% C 0.200 H 321.0°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#952CA8
RGBrgb(149, 44, 168)
HSLhsl(291, 58%, 42%)
HSVhsv(291, 74%, 66%)
CMYKcmyk(11.3%, 73.8%, 0%, 34.1%)
CIE-LABlab(39.61, 59.47, -45.04)
CIE-LCHlch(39.61, 74.60, 322.86°)
OKLaboklab(50.56% 0.1558 -0.1261)
OKLCHoklch(50.56% 0.2 321)
XYZxyz(20.3622, 11.0192, 38.0926)
Luminance0.1102 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952CA8 #3FA82C
analogous
#572CA8 #952CA8 #A82C7D
triadic
#952CA8 #A8952C #2CA895
tetradic
#952CA8 #A8572C #3FA82C #2C7DA8
square
#952CA8 #A8572C #3FA82C #2C7DA8
split-complementary
#952CA8 #7DA82C #2CA857
monochromatic
#3F1347 #6A1F78 #952CA8 #B943CE #CB74DB

Accessibility & contrast

On white

6.56
#952CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#952CA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952CA8
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952CA8#FFFFFF#000000##FFFFFF
##952CA81.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AB
Deuteranopia (green-blind)
#3A61A5
Tritanopia (blue-blind)
#964468
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #952ca8;
/* rgb */ color: rgb(149, 44, 168);
/* oklch */ color: oklch(50.6% 0.200 321.0);
Tailwind
colors: {
  custom: {
    50: '#b870c2',
    500: '#952ca8',
    950: '#000000',
  },
}
SCSS
$custom: #952ca8;
$custom-light: #b870c2;
$custom-dark: #000000;
JSON
{
  "hex": "#952ca8",
  "rgb": {
    "r": 149,
    "g": 44,
    "b": 168
  },
  "hsl": {
    "h": 290.806,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50556,
    "c": 0.20042,
    "h": 321
  },
  "luminance": 0.11018
}

Semantic roles & 50–950 ramp

primary
#952CA8
secondary
#7BC26E
accent
#E2465E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #952CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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