#952DBC#952DBC

#952DBC is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.0% C 0.217 H 314.7°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#952DBC
RGBrgb(149, 45, 188)
HSLhsl(284, 61%, 46%)
HSVhsv(284, 76%, 74%)
CMYKcmyk(20.7%, 76.1%, 0%, 26.3%)
CIE-LABlab(41.05, 62.96, -54.57)
CIE-LCHlch(41.05, 83.32, 319.09°)
OKLaboklab(52% 0.1526 -0.154)
OKLCHoklch(52% 0.217 314.7)
XYZxyz(22.4084, 11.8980, 48.6833)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952DBC #54BC2D
analogous
#4D2DBC #952DBC #BC2D9B
triadic
#952DBC #BC952D #2DBC95
tetradic
#952DBC #BC4D2D #54BC2D #2D9BBC
square
#952DBC #BC4D2D #54BC2D #2D9BBC
split-complementary
#952DBC #9BBC2D #2DBC4D
monochromatic
#471559 #6E218B #952DBC #B151D5 #C782E1

Accessibility & contrast

On white

6.21
#952DBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #952DBC
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952DBC#FFFFFF#000000##FFFFFF
##952DBC1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC0
Deuteranopia (green-blind)
#2563B9
Tritanopia (blue-blind)
#924D73
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #952dbc;
/* rgb */ color: rgb(149, 45, 188);
/* oklch */ color: oklch(52.0% 0.217 314.7);
Tailwind
colors: {
  custom: {
    50: '#b971d1',
    500: '#952dbc',
    950: '#000000',
  },
}
SCSS
$custom: #952dbc;
$custom-light: #b971d1;
$custom-dark: #000000;
JSON
{
  "hex": "#952dbc",
  "rgb": {
    "r": 149,
    "g": 45,
    "b": 188
  },
  "hsl": {
    "h": 283.636,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.51997,
    "c": 0.21678,
    "h": 314.7
  },
  "luminance": 0.11897
}

Semantic roles & 50–950 ramp

primary
#952DBC
secondary
#90CA7B
accent
#E4436F
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #952DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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