#952BA2#952BA2

#952BA2 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.1% C 0.196 H 323.1°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#952BA2
RGBrgb(149, 43, 162)
HSLhsl(293, 58%, 40%)
HSVhsv(293, 73%, 64%)
CMYKcmyk(8%, 73.5%, 0%, 36.5%)
CIE-LABlab(39.12, 58.72, -42.24)
CIE-LCHlch(39.12, 72.34, 324.27°)
OKLaboklab(50.08% 0.1571 -0.1179)
OKLCHoklch(50.08% 0.196 323.1)
XYZxyz(19.7793, 10.7271, 35.2041)
Luminance0.1073 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952BA2 #38A22B
analogous
#592BA2 #952BA2 #A22B74
triadic
#952BA2 #A2952B #2BA295
tetradic
#952BA2 #A2592B #38A22B #2B74A2
square
#952BA2 #A2592B #38A22B #2B74A2
split-complementary
#952BA2 #74A22B #2BA259
monochromatic
#3C1141 #691E72 #952BA2 #BC3ECC #CD6FD9

Accessibility & contrast

On white

6.68
#952BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#952BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952BA2
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952BA2#FFFFFF#000000##FFFFFF
##952BA21.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#3E609F
Tritanopia (blue-blind)
#974164
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #952ba2;
/* rgb */ color: rgb(149, 43, 162);
/* oklch */ color: oklch(50.1% 0.196 323.1);
Tailwind
colors: {
  custom: {
    50: '#b86fbe',
    500: '#952ba2',
    950: '#000000',
  },
}
SCSS
$custom: #952ba2;
$custom-light: #b86fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#952ba2",
  "rgb": {
    "r": 149,
    "g": 43,
    "b": 162
  },
  "hsl": {
    "h": 293.445,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50084,
    "c": 0.19644,
    "h": 323.1
  },
  "luminance": 0.10726
}

Semantic roles & 50–950 ramp

primary
#952BA2
secondary
#73C069
accent
#E14757
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #952BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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