#952BA1#952BA1

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

Color values

HEX#952BA1
RGBrgb(149, 43, 161)
HSLhsl(294, 58%, 40%)
HSVhsv(294, 73%, 63%)
CMYKcmyk(7.5%, 73.3%, 0%, 36.9%)
CIE-LABlab(39.06, 58.54, -41.74)
CIE-LCHlch(39.06, 71.90, 324.51°)
OKLaboklab(50.02% 0.1572 -0.1164)
OKLCHoklch(50.02% 0.196 323.5)
XYZxyz(19.6907, 10.6917, 34.7379)
Luminance0.1069 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952BA1 #37A12B
analogous
#5A2BA1 #952BA1 #A12B72
triadic
#952BA1 #A1952B #2BA195
tetradic
#952BA1 #A15A2B #37A12B #2B72A1
square
#952BA1 #A15A2B #37A12B #2B72A1
split-complementary
#952BA1 #72A12B #2BA15A
monochromatic
#3C1140 #681E71 #952BA1 #BD3ECB #CD6ED8

Accessibility & contrast

On white

6.69
#952BA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#952BA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952BA1
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952BA1#FFFFFF#000000##FFFFFF
##952BA11.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A4
Deuteranopia (green-blind)
#3F609E
Tritanopia (blue-blind)
#984064
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #952ba1;
/* rgb */ color: rgb(149, 43, 161);
/* oklch */ color: oklch(50.0% 0.196 323.5);
Tailwind
colors: {
  custom: {
    50: '#b86fbd',
    500: '#952ba1',
    950: '#000000',
  },
}
SCSS
$custom: #952ba1;
$custom-light: #b86fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#952ba1",
  "rgb": {
    "r": 149,
    "g": 43,
    "b": 161
  },
  "hsl": {
    "h": 293.898,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.50021,
    "c": 0.1956,
    "h": 323.5
  },
  "luminance": 0.10691
}

Semantic roles & 50–950 ramp

primary
#952BA1
secondary
#71BF69
accent
#E14756
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #952BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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