#952CA7#952CA7

#952CA7 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.5% C 0.200 H 321.4°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#952CA7
RGBrgb(149, 44, 167)
HSLhsl(291, 58%, 41%)
HSVhsv(291, 74%, 65%)
CMYKcmyk(10.8%, 73.7%, 0%, 34.5%)
CIE-LABlab(39.55, 59.28, -44.54)
CIE-LCHlch(39.55, 74.15, 323.08°)
OKLaboklab(50.49% 0.1559 -0.1246)
OKLCHoklch(50.49% 0.2 321.4)
XYZxyz(20.2694, 10.9821, 37.6038)
Luminance0.1098 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952CA7 #3EA72C
analogous
#582CA7 #952CA7 #A72C7C
triadic
#952CA7 #A7952C #2CA795
tetradic
#952CA7 #A7582C #3EA72C #2C7CA7
square
#952CA7 #A7582C #3EA72C #2C7CA7
split-complementary
#952CA7 #7CA72C #2CA758
monochromatic
#3F1246 #6A1F77 #952CA7 #B943CD #CB73DA

Accessibility & contrast

On white

6.57
#952CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #952CA7
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952CA7#FFFFFF#000000##FFFFFF
##952CA71.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AA
Deuteranopia (green-blind)
#3B61A4
Tritanopia (blue-blind)
#964367
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #952ca7;
/* rgb */ color: rgb(149, 44, 167);
/* oklch */ color: oklch(50.5% 0.200 321.4);
Tailwind
colors: {
  custom: {
    50: '#b870c2',
    500: '#952ca7',
    950: '#000000',
  },
}
SCSS
$custom: #952ca7;
$custom-light: #b870c2;
$custom-dark: #000000;
JSON
{
  "hex": "#952ca7",
  "rgb": {
    "r": 149,
    "g": 44,
    "b": 167
  },
  "hsl": {
    "h": 291.22,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50491,
    "c": 0.19956,
    "h": 321.4
  },
  "luminance": 0.10981
}

Semantic roles & 50–950 ramp

primary
#952CA7
secondary
#79C26D
accent
#E2465D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #952CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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