#952EB9#952EB9

#952EB9 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.9% C 0.213 H 315.5°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#952EB9
RGBrgb(149, 46, 185)
HSLhsl(284, 60%, 45%)
HSVhsv(284, 75%, 73%)
CMYKcmyk(19.5%, 75.1%, 0%, 27.5%)
CIE-LABlab(40.97, 62.01, -52.93)
CIE-LCHlch(40.97, 81.53, 319.52°)
OKLaboklab(51.87% 0.1521 -0.1492)
OKLCHoklch(51.87% 0.213 315.5)
XYZxyz(22.1270, 11.8472, 47.0107)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952EB9 #52B92E
analogous
#4F2EB9 #952EB9 #B92E98
triadic
#952EB9 #B9952E #2EB995
tetradic
#952EB9 #B94F2E #52B92E #2E98B9
square
#952EB9 #B94F2E #52B92E #2E98B9
split-complementary
#952EB9 #98B92E #2EB94F
monochromatic
#461657 #6E2288 #952EB9 #B251D4 #C782E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##952EB9#FFFFFF#000000##FFFFFF
##952EB91.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)
#005BBD
Deuteranopia (green-blind)
#2A63B6
Tritanopia (blue-blind)
#924D72
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #952eb9;
/* rgb */ color: rgb(149, 46, 185);
/* oklch */ color: oklch(51.9% 0.213 315.5);
Tailwind
colors: {
  custom: {
    50: '#b872cf',
    500: '#952eb9',
    950: '#000000',
  },
}
SCSS
$custom: #952eb9;
$custom-light: #b872cf;
$custom-dark: #000000;
JSON
{
  "hex": "#952eb9",
  "rgb": {
    "r": 149,
    "g": 46,
    "b": 185
  },
  "hsl": {
    "h": 284.46,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.51874,
    "c": 0.21308,
    "h": 315.5
  },
  "luminance": 0.11846
}

Semantic roles & 50–950 ramp

primary
#952EB9
secondary
#8EC97A
accent
#E3446E
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #952EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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