#952FBB#952FBB

#952FBB is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.1% C 0.214 H 314.9°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#952FBB
RGBrgb(149, 47, 187)
HSLhsl(284, 60%, 46%)
HSVhsv(284, 75%, 73%)
CMYKcmyk(20.3%, 74.9%, 0%, 26.7%)
CIE-LABlab(41.23, 62.05, -53.69)
CIE-LCHlch(41.23, 82.05, 319.13°)
OKLaboklab(52.1% 0.1509 -0.1514)
OKLCHoklch(52.1% 0.214 314.9)
XYZxyz(22.3791, 12.0113, 48.1436)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952FBB #55BB2F
analogous
#4F2FBB #952FBB #BB2F9B
triadic
#952FBB #BB952F #2FBB95
tetradic
#952FBB #BB4F2F #55BB2F #2F9BBB
square
#952FBB #BB4F2F #55BB2F #2F9BBB
split-complementary
#952FBB #9BBB2F #2FBB4F
monochromatic
#471659 #6E238A #952FBB #B153D4 #C784E0

Accessibility & contrast

On white

6.17
#952FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#952FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952FBB
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952FBB#FFFFFF#000000##FFFFFF
##952FBB1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBF
Deuteranopia (green-blind)
#2864B8
Tritanopia (blue-blind)
#924E73
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #952fbb;
/* rgb */ color: rgb(149, 47, 187);
/* oklch */ color: oklch(52.1% 0.214 314.9);
Tailwind
colors: {
  custom: {
    50: '#b872d0',
    500: '#952fbb',
    950: '#000000',
  },
}
SCSS
$custom: #952fbb;
$custom-light: #b872d0;
$custom-dark: #000000;
JSON
{
  "hex": "#952fbb",
  "rgb": {
    "r": 149,
    "g": 47,
    "b": 187
  },
  "hsl": {
    "h": 283.714,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.52102,
    "c": 0.21379,
    "h": 314.9
  },
  "luminance": 0.1201
}

Semantic roles & 50–950 ramp

primary
#952FBB
secondary
#91C97C
accent
#E34570
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #952FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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