#952BA3#952BA3

#952BA3 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.1% C 0.197 H 322.8°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#952BA3
RGBrgb(149, 43, 163)
HSLhsl(293, 58%, 40%)
HSVhsv(293, 74%, 64%)
CMYKcmyk(8.6%, 73.6%, 0%, 36.1%)
CIE-LABlab(39.18, 58.91, -42.74)
CIE-LCHlch(39.18, 72.78, 324.03°)
OKLaboklab(50.15% 0.1571 -0.1194)
OKLCHoklch(50.15% 0.197 322.8)
XYZxyz(19.8685, 10.7628, 35.6741)
Luminance0.1076 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952BA3 #39A32B
analogous
#592BA3 #952BA3 #A32B75
triadic
#952BA3 #A3952B #2BA395
tetradic
#952BA3 #A3592B #39A32B #2B75A3
square
#952BA3 #A3592B #39A32B #2B75A3
split-complementary
#952BA3 #75A32B #2BA359
monochromatic
#3C1142 #691E73 #952BA3 #BC3FCC #CD6FD9

Accessibility & contrast

On white

6.66
#952BA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #952BA3
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952BA3#FFFFFF#000000##FFFFFF
##952BA31.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A6
Deuteranopia (green-blind)
#3E60A0
Tritanopia (blue-blind)
#974165
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #952ba3;
/* rgb */ color: rgb(149, 43, 163);
/* oklch */ color: oklch(50.1% 0.197 322.8);
Tailwind
colors: {
  custom: {
    50: '#b86fbf',
    500: '#952ba3',
    950: '#000000',
  },
}
SCSS
$custom: #952ba3;
$custom-light: #b86fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#952ba3",
  "rgb": {
    "r": 149,
    "g": 43,
    "b": 163
  },
  "hsl": {
    "h": 293,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50147,
    "c": 0.19728,
    "h": 322.8
  },
  "luminance": 0.10762
}

Semantic roles & 50–950 ramp

primary
#952BA3
secondary
#74C06A
accent
#E14658
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #952BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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