#952DAF#952DAF

#952DAF is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.1% C 0.205 H 318.7°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#952DAF
RGBrgb(149, 45, 175)
HSLhsl(288, 59%, 43%)
HSVhsv(288, 74%, 69%)
CMYKcmyk(14.9%, 74.3%, 0%, 31.4%)
CIE-LABlab(40.18, 60.43, -48.29)
CIE-LCHlch(40.18, 77.36, 321.37°)
OKLaboklab(51.11% 0.1542 -0.1356)
OKLCHoklch(51.11% 0.205 318.7)
XYZxyz(21.0696, 11.3625, 41.6325)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952DAF #47AF2D
analogous
#542DAF #952DAF #AF2D88
triadic
#952DAF #AF952D #2DAF95
tetradic
#952DAF #AF542D #47AF2D #2D88AF
square
#952DAF #AF542D #47AF2D #2D88AF
split-complementary
#952DAF #88AF2D #2DAF54
monochromatic
#42144E #6C207E #952DAF #B549D0 #C97ADD

Accessibility & contrast

On white

6.42
#952DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#952DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952DAF
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952DAF#FFFFFF#000000##FFFFFF
##952DAF1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#3562AC
Tritanopia (blue-blind)
#95486C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #952daf;
/* rgb */ color: rgb(149, 45, 175);
/* oklch */ color: oklch(51.1% 0.205 318.7);
Tailwind
colors: {
  custom: {
    50: '#b871c7',
    500: '#952daf',
    950: '#000000',
  },
}
SCSS
$custom: #952daf;
$custom-light: #b871c7;
$custom-dark: #000000;
JSON
{
  "hex": "#952daf",
  "rgb": {
    "r": 149,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 288,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51105,
    "c": 0.20537,
    "h": 318.7
  },
  "luminance": 0.11361
}

Semantic roles & 50–950 ramp

primary
#952DAF
secondary
#83C573
accent
#E24665
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #952DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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