#952FB8#952FB8

#952FB8 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.9% C 0.211 H 315.8°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#952FB8
RGBrgb(149, 47, 184)
HSLhsl(285, 59%, 45%)
HSVhsv(285, 74%, 72%)
CMYKcmyk(19%, 74.5%, 0%, 27.8%)
CIE-LABlab(41.03, 61.46, -52.25)
CIE-LCHlch(41.03, 80.66, 319.63°)
OKLaboklab(51.9% 0.1513 -0.1472)
OKLCHoklch(51.9% 0.211 315.8)
XYZxyz(22.0613, 11.8841, 46.4699)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952FB8 #52B82F
analogous
#512FB8 #952FB8 #B82F96
triadic
#952FB8 #B8952F #2FB895
tetradic
#952FB8 #B8512F #52B82F #2F96B8
square
#952FB8 #B8512F #52B82F #2F96B8
split-complementary
#952FB8 #96B82F #2FB851
monochromatic
#461657 #6E2387 #952FB8 #B252D3 #C782DF

Accessibility & contrast

On white

6.22
#952FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#952FB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952FB8
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952FB8#FFFFFF#000000##FFFFFF
##952FB81.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBC
Deuteranopia (green-blind)
#2C63B5
Tritanopia (blue-blind)
#924D72
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #952fb8;
/* rgb */ color: rgb(149, 47, 184);
/* oklch */ color: oklch(51.9% 0.211 315.8);
Tailwind
colors: {
  custom: {
    50: '#b872ce',
    500: '#952fb8',
    950: '#000000',
  },
}
SCSS
$custom: #952fb8;
$custom-light: #b872ce;
$custom-dark: #000000;
JSON
{
  "hex": "#952fb8",
  "rgb": {
    "r": 149,
    "g": 47,
    "b": 184
  },
  "hsl": {
    "h": 284.672,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.51895,
    "c": 0.21112,
    "h": 315.8
  },
  "luminance": 0.11883
}

Semantic roles & 50–950 ramp

primary
#952FB8
secondary
#8EC87B
accent
#E2456D
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #952FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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