#952CBD#952CBD

#952CBD is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.0% C 0.219 H 314.5°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#952CBD
RGBrgb(149, 44, 189)
HSLhsl(283, 62%, 46%)
HSVhsv(283, 77%, 74%)
CMYKcmyk(21.2%, 76.7%, 0%, 25.9%)
CIE-LABlab(41.00, 63.51, -55.24)
CIE-LCHlch(41.00, 84.17, 318.99°)
OKLaboklab(51.98% 0.1533 -0.156)
OKLCHoklch(51.98% 0.219 314.5)
XYZxyz(22.4789, 11.8658, 49.2405)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952CBD #54BD2C
analogous
#4C2CBD #952CBD #BD2C9C
triadic
#952CBD #BD952C #2CBD95
tetradic
#952CBD #BD4C2C #54BD2C #2C9CBD
square
#952CBD #BD4C2C #54BD2C #2C9CBD
split-complementary
#952CBD #9CBD2C #2CBD4C
monochromatic
#47155A #6E208B #952CBD #B150D6 #C782E2

Accessibility & contrast

On white

6.23
#952CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#952CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952CBD
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952CBD#FFFFFF#000000##FFFFFF
##952CBD1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC1
Deuteranopia (green-blind)
#2263BA
Tritanopia (blue-blind)
#914D74
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #952cbd;
/* rgb */ color: rgb(149, 44, 189);
/* oklch */ color: oklch(52.0% 0.219 314.5);
Tailwind
colors: {
  custom: {
    50: '#b971d2',
    500: '#952cbd',
    950: '#000000',
  },
}
SCSS
$custom: #952cbd;
$custom-light: #b971d2;
$custom-dark: #000000;
JSON
{
  "hex": "#952cbd",
  "rgb": {
    "r": 149,
    "g": 44,
    "b": 189
  },
  "hsl": {
    "h": 283.448,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.51982,
    "c": 0.21867,
    "h": 314.5
  },
  "luminance": 0.11865
}

Semantic roles & 50–950 ramp

primary
#952CBD
secondary
#90CB7A
accent
#E5426F
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #952CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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