#952FB2#952FB2

#952FB2 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.5% C 0.206 H 317.6°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#952FB2
RGBrgb(149, 47, 178)
HSLhsl(287, 58%, 44%)
HSVhsv(287, 74%, 70%)
CMYKcmyk(16.3%, 73.6%, 0%, 30.2%)
CIE-LABlab(40.63, 60.28, -49.35)
CIE-LCHlch(40.63, 77.90, 320.70°)
OKLaboklab(51.49% 0.152 -0.1387)
OKLCHoklch(51.49% 0.206 317.6)
XYZxyz(21.4457, 11.6379, 43.2275)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952FB2 #4CB22F
analogous
#542FB2 #952FB2 #B22F8E
triadic
#952FB2 #B2952F #2FB295
tetradic
#952FB2 #B2542F #4CB22F #2F8EB2
square
#952FB2 #B2542F #4CB22F #2F8EB2
split-complementary
#952FB2 #8EB22F #2FB254
monochromatic
#441551 #6C2282 #952FB2 #B34ED0 #C87EDD

Accessibility & contrast

On white

6.31
#952FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#952FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952FB2
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952FB2#FFFFFF#000000##FFFFFF
##952FB21.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#3363AF
Tritanopia (blue-blind)
#944A6E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #952fb2;
/* rgb */ color: rgb(149, 47, 178);
/* oklch */ color: oklch(51.5% 0.206 317.6);
Tailwind
colors: {
  custom: {
    50: '#b872ca',
    500: '#952fb2',
    950: '#000000',
  },
}
SCSS
$custom: #952fb2;
$custom-light: #b872ca;
$custom-dark: #000000;
JSON
{
  "hex": "#952fb2",
  "rgb": {
    "r": 149,
    "g": 47,
    "b": 178
  },
  "hsl": {
    "h": 286.718,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51487,
    "c": 0.20579,
    "h": 317.6
  },
  "luminance": 0.11637
}

Semantic roles & 50–950 ramp

primary
#952FB2
secondary
#88C677
accent
#E14669
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #952FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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