#952FC5#952FC5

#952FC5 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.8% C 0.223 H 312.1°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#952FC5
RGBrgb(149, 47, 197)
HSLhsl(281, 61%, 48%)
HSVhsv(281, 76%, 77%)
CMYKcmyk(24.4%, 76.1%, 0%, 22.7%)
CIE-LABlab(41.93, 64.07, -58.41)
CIE-LCHlch(41.93, 86.70, 317.64°)
OKLaboklab(52.81% 0.1493 -0.1653)
OKLCHoklch(52.81% 0.223 312.1)
XYZxyz(23.4871, 12.4545, 53.9792)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952FC5 #5FC52F
analogous
#4A2FC5 #952FC5 #C52FAA
triadic
#952FC5 #C5952F #2FC595
tetradic
#952FC5 #C54A2F #5FC52F #2FAAC5
square
#952FC5 #C54A2F #5FC52F #2FAAC5
split-complementary
#952FC5 #AAC52F #2FC54A
monochromatic
#4A1762 #702394 #952FC5 #AF5AD8 #C78BE3

Accessibility & contrast

On white

6.02
#952FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#952FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952FC5
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952FC5#FFFFFF#000000##FFFFFF
##952FC51.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC9
Deuteranopia (green-blind)
#1565C2
Tritanopia (blue-blind)
#8F5279
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #952fc5;
/* rgb */ color: rgb(149, 47, 197);
/* oklch */ color: oklch(52.8% 0.223 312.1);
Tailwind
colors: {
  custom: {
    50: '#b973d7',
    500: '#952fc5',
    950: '#000000',
  },
}
SCSS
$custom: #952fc5;
$custom-light: #b973d7;
$custom-dark: #000000;
JSON
{
  "hex": "#952fc5",
  "rgb": {
    "r": 149,
    "g": 47,
    "b": 197
  },
  "hsl": {
    "h": 280.8,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.52814,
    "c": 0.22276,
    "h": 312.1
  },
  "luminance": 0.12454
}

Semantic roles & 50–950 ramp

primary
#952FC5
secondary
#9ACD82
accent
#E54377
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #952FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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