#952BB5#952BB5

#952BB5 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.3% C 0.213 H 316.9°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#952BB5
RGBrgb(149, 43, 181)
HSLhsl(286, 62%, 44%)
HSVhsv(286, 76%, 71%)
CMYKcmyk(17.7%, 76.2%, 0%, 29%)
CIE-LABlab(40.34, 62.29, -51.60)
CIE-LCHlch(40.34, 80.88, 320.36°)
OKLaboklab(51.34% 0.1553 -0.1453)
OKLCHoklch(51.34% 0.213 316.9)
XYZxyz(21.5975, 11.4544, 44.7804)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952BB5 #4BB52B
analogous
#502BB5 #952BB5 #B52B90
triadic
#952BB5 #B5952B #2BB595
tetradic
#952BB5 #B5502B #4BB52B #2B90B5
square
#952BB5 #B5502B #4BB52B #2B90B5
split-complementary
#952BB5 #90B52B #2BB550
monochromatic
#441452 #6C1F84 #952BB5 #B449D4 #C87BE0

Accessibility & contrast

On white

6.38
#952BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#952BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952BB5
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952BB5#FFFFFF#000000##FFFFFF
##952BB51.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B9
Deuteranopia (green-blind)
#2D62B2
Tritanopia (blue-blind)
#93496F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #952bb5;
/* rgb */ color: rgb(149, 43, 181);
/* oklch */ color: oklch(51.3% 0.213 316.9);
Tailwind
colors: {
  custom: {
    50: '#b870cc',
    500: '#952bb5',
    950: '#000000',
  },
}
SCSS
$custom: #952bb5;
$custom-light: #b870cc;
$custom-dark: #000000;
JSON
{
  "hex": "#952bb5",
  "rgb": {
    "r": 149,
    "g": 43,
    "b": 181
  },
  "hsl": {
    "h": 286.087,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51338,
    "c": 0.2127,
    "h": 316.9
  },
  "luminance": 0.11454
}

Semantic roles & 50–950 ramp

primary
#952BB5
secondary
#87C874
accent
#E54369
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #952BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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