#952BA4#952BA4

#952BA4 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.2% C 0.198 H 322.4°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#952BA4
RGBrgb(149, 43, 164)
HSLhsl(293, 58%, 41%)
HSVhsv(293, 74%, 64%)
CMYKcmyk(9.1%, 73.8%, 0%, 35.7%)
CIE-LABlab(39.24, 59.09, -43.24)
CIE-LCHlch(39.24, 73.22, 323.80°)
OKLaboklab(50.21% 0.157 -0.1208)
OKLCHoklch(50.21% 0.198 322.4)
XYZxyz(19.9585, 10.7988, 36.1479)
Luminance0.1080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952BA4 #3AA42B
analogous
#582BA4 #952BA4 #A42B76
triadic
#952BA4 #A4952B #2BA495
tetradic
#952BA4 #A4582B #3AA42B #2B76A4
square
#952BA4 #A4582B #3AA42B #2B76A4
split-complementary
#952BA4 #76A42B #2BA458
monochromatic
#3D1243 #691E74 #952BA4 #BB3FCD #CC70D9

Accessibility & contrast

On white

6.65
#952BA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#952BA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952BA4
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952BA4#FFFFFF#000000##FFFFFF
##952BA41.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A7
Deuteranopia (green-blind)
#3D60A1
Tritanopia (blue-blind)
#974265
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #952ba4;
/* rgb */ color: rgb(149, 43, 164);
/* oklch */ color: oklch(50.2% 0.198 322.4);
Tailwind
colors: {
  custom: {
    50: '#b86fbf',
    500: '#952ba4',
    950: '#000000',
  },
}
SCSS
$custom: #952ba4;
$custom-light: #b86fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#952ba4",
  "rgb": {
    "r": 149,
    "g": 43,
    "b": 164
  },
  "hsl": {
    "h": 292.562,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.5021,
    "c": 0.19813,
    "h": 322.4
  },
  "luminance": 0.10798
}

Semantic roles & 50–950 ramp

primary
#952BA4
secondary
#75C16A
accent
#E24659
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #952BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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