#952FB4#952FB4

#952FB4 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.6% C 0.208 H 317.0°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#952FB4
RGBrgb(149, 47, 180)
HSLhsl(286, 59%, 45%)
HSVhsv(286, 74%, 71%)
CMYKcmyk(17.2%, 73.9%, 0%, 29.4%)
CIE-LABlab(40.77, 60.67, -50.32)
CIE-LCHlch(40.77, 78.82, 320.33°)
OKLaboklab(51.62% 0.1518 -0.1416)
OKLCHoklch(51.62% 0.208 317)
XYZxyz(21.6479, 11.7188, 44.2928)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952FB4 #4EB42F
analogous
#532FB4 #952FB4 #B42F91
triadic
#952FB4 #B4952F #2FB495
tetradic
#952FB4 #B4532F #4EB42F #2F91B4
square
#952FB4 #B4532F #4EB42F #2F91B4
split-complementary
#952FB4 #91B42F #2FB453
monochromatic
#451653 #6D2283 #952FB4 #B34FD1 #C880DE

Accessibility & contrast

On white

6.28
#952FB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#952FB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952FB4
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952FB4#FFFFFF#000000##FFFFFF
##952FB41.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB8
Deuteranopia (green-blind)
#3163B1
Tritanopia (blue-blind)
#934B6F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #952fb4;
/* rgb */ color: rgb(149, 47, 180);
/* oklch */ color: oklch(51.6% 0.208 317.0);
Tailwind
colors: {
  custom: {
    50: '#b872cb',
    500: '#952fb4',
    950: '#000000',
  },
}
SCSS
$custom: #952fb4;
$custom-light: #b872cb;
$custom-dark: #000000;
JSON
{
  "hex": "#952fb4",
  "rgb": {
    "r": 149,
    "g": 47,
    "b": 180
  },
  "hsl": {
    "h": 286.015,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51622,
    "c": 0.20756,
    "h": 317
  },
  "luminance": 0.11718
}

Semantic roles & 50–950 ramp

primary
#952FB4
secondary
#8AC778
accent
#E2466A
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #952FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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