#952EB8#952EB8

#952EB8 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.8% C 0.212 H 315.8°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#952EB8
RGBrgb(149, 46, 184)
HSLhsl(285, 60%, 45%)
HSVhsv(285, 75%, 72%)
CMYKcmyk(19%, 75%, 0%, 27.8%)
CIE-LABlab(40.90, 61.82, -52.45)
CIE-LCHlch(40.90, 81.07, 319.68°)
OKLaboklab(51.81% 0.1522 -0.1478)
OKLCHoklch(51.81% 0.212 315.8)
XYZxyz(22.0218, 11.8051, 46.4567)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952EB8 #51B82E
analogous
#502EB8 #952EB8 #B82E96
triadic
#952EB8 #B8952E #2EB895
tetradic
#952EB8 #B8502E #51B82E #2E96B8
square
#952EB8 #B8502E #51B82E #2E96B8
split-complementary
#952EB8 #96B82E #2EB850
monochromatic
#461656 #6D2287 #952EB8 #B250D3 #C781DF

Accessibility & contrast

On white

6.25
#952EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#952EB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952EB8
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952EB8#FFFFFF#000000##FFFFFF
##952EB81.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBC
Deuteranopia (green-blind)
#2B63B5
Tritanopia (blue-blind)
#924C71
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #952eb8;
/* rgb */ color: rgb(149, 46, 184);
/* oklch */ color: oklch(51.8% 0.212 315.8);
Tailwind
colors: {
  custom: {
    50: '#b872ce',
    500: '#952eb8',
    950: '#000000',
  },
}
SCSS
$custom: #952eb8;
$custom-light: #b872ce;
$custom-dark: #000000;
JSON
{
  "hex": "#952eb8",
  "rgb": {
    "r": 149,
    "g": 46,
    "b": 184
  },
  "hsl": {
    "h": 284.783,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51805,
    "c": 0.2122,
    "h": 315.8
  },
  "luminance": 0.11804
}

Semantic roles & 50–950 ramp

primary
#952EB8
secondary
#8DC879
accent
#E3456D
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #952EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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