#952FB3#952FB3

#952FB3 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.6% C 0.207 H 317.3°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#952FB3
RGBrgb(149, 47, 179)
HSLhsl(286, 58%, 44%)
HSVhsv(286, 74%, 70%)
CMYKcmyk(16.8%, 73.7%, 0%, 29.8%)
CIE-LABlab(40.70, 60.47, -49.83)
CIE-LCHlch(40.70, 78.36, 320.51°)
OKLaboklab(51.55% 0.1519 -0.1401)
OKLCHoklch(51.55% 0.207 317.3)
XYZxyz(21.5464, 11.6782, 43.7582)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952FB3 #4DB32F
analogous
#532FB3 #952FB3 #B32F8F
triadic
#952FB3 #B3952F #2FB395
tetradic
#952FB3 #B3532F #4DB32F #2F8FB3
square
#952FB3 #B3532F #4DB32F #2F8FB3
split-complementary
#952FB3 #8FB32F #2FB353
monochromatic
#441652 #6D2283 #952FB3 #B34FD1 #C87FDD

Accessibility & contrast

On white

6.30
#952FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#952FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952FB3
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952FB3#FFFFFF#000000##FFFFFF
##952FB31.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#3263B0
Tritanopia (blue-blind)
#944B6F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #952fb3;
/* rgb */ color: rgb(149, 47, 179);
/* oklch */ color: oklch(51.6% 0.207 317.3);
Tailwind
colors: {
  custom: {
    50: '#b872ca',
    500: '#952fb3',
    950: '#000000',
  },
}
SCSS
$custom: #952fb3;
$custom-light: #b872ca;
$custom-dark: #000000;
JSON
{
  "hex": "#952fb3",
  "rgb": {
    "r": 149,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 286.364,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51554,
    "c": 0.20668,
    "h": 317.3
  },
  "luminance": 0.11677
}

Semantic roles & 50–950 ramp

primary
#952FB3
secondary
#89C678
accent
#E2466A
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #952FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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