#952BC7#952BC7

#952BC7 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.6% C 0.228 H 311.8°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#952BC7
RGBrgb(149, 43, 199)
HSLhsl(281, 64%, 47%)
HSVhsv(281, 78%, 78%)
CMYKcmyk(25.1%, 78.4%, 0%, 22%)
CIE-LABlab(41.60, 65.84, -60.11)
CIE-LCHlch(41.60, 89.16, 317.61°)
OKLaboklab(52.63% 0.1522 -0.1703)
OKLCHoklch(52.63% 0.228 311.8)
XYZxyz(23.5652, 12.2415, 55.1432)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952BC7 #5DC72B
analogous
#472BC7 #952BC7 #C72BAB
triadic
#952BC7 #C7952B #2BC795
tetradic
#952BC7 #C7472B #5DC72B #2BABC7
square
#952BC7 #C7472B #5DC72B #2BABC7
split-complementary
#952BC7 #ABC72B #2BC747
monochromatic
#4A1562 #6F2095 #952BC7 #B055DA #C787E5

Accessibility & contrast

On white

6.09
#952BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#952BC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952BC7
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952BC7#FFFFFF#000000##FFFFFF
##952BC71.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCB
Deuteranopia (green-blind)
#0364C4
Tritanopia (blue-blind)
#8F5179
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #952bc7;
/* rgb */ color: rgb(149, 43, 199);
/* oklch */ color: oklch(52.6% 0.228 311.8);
Tailwind
colors: {
  custom: {
    50: '#b971d9',
    500: '#952bc7',
    950: '#000000',
  },
}
SCSS
$custom: #952bc7;
$custom-light: #b971d9;
$custom-dark: #000000;
JSON
{
  "hex": "#952bc7",
  "rgb": {
    "r": 149,
    "g": 43,
    "b": 199
  },
  "hsl": {
    "h": 280.769,
    "s": 64.463,
    "l": 47.451
  },
  "oklch": {
    "l": 0.52625,
    "c": 0.22843,
    "h": 311.8
  },
  "luminance": 0.12241
}

Semantic roles & 50–950 ramp

primary
#952BC7
secondary
#99CF7F
accent
#E74076
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #952BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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