#952EB7#952EB7

#952EB7 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.7% C 0.211 H 316.1°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#952EB7
RGBrgb(149, 46, 183)
HSLhsl(285, 60%, 45%)
HSVhsv(285, 75%, 72%)
CMYKcmyk(18.6%, 74.9%, 0%, 28.2%)
CIE-LABlab(40.84, 61.62, -51.97)
CIE-LCHlch(40.84, 80.61, 319.85°)
OKLaboklab(51.74% 0.1524 -0.1464)
OKLCHoklch(51.74% 0.211 316.1)
XYZxyz(21.9173, 11.7633, 45.9066)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952EB7 #50B72E
analogous
#502EB7 #952EB7 #B72E95
triadic
#952EB7 #B7952E #2EB795
tetradic
#952EB7 #B7502E #50B72E #2E95B7
square
#952EB7 #B7502E #50B72E #2E95B7
split-complementary
#952EB7 #95B72E #2EB750
monochromatic
#451555 #6D2286 #952EB7 #B24FD3 #C880DF

Accessibility & contrast

On white

6.26
#952EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#952EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952EB7
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952EB7#FFFFFF#000000##FFFFFF
##952EB71.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABB
Deuteranopia (green-blind)
#2D63B4
Tritanopia (blue-blind)
#934C71
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #952eb7;
/* rgb */ color: rgb(149, 46, 183);
/* oklch */ color: oklch(51.7% 0.211 316.1);
Tailwind
colors: {
  custom: {
    50: '#b872cd',
    500: '#952eb7',
    950: '#000000',
  },
}
SCSS
$custom: #952eb7;
$custom-light: #b872cd;
$custom-dark: #000000;
JSON
{
  "hex": "#952eb7",
  "rgb": {
    "r": 149,
    "g": 46,
    "b": 183
  },
  "hsl": {
    "h": 285.109,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51736,
    "c": 0.2113,
    "h": 316.1
  },
  "luminance": 0.11762
}

Semantic roles & 50–950 ramp

primary
#952EB7
secondary
#8CC879
accent
#E3456C
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #952EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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