#952EAF#952EAF

#952EAF is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.2% C 0.204 H 318.6°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#952EAF
RGBrgb(149, 46, 175)
HSLhsl(288, 58%, 43%)
HSVhsv(288, 74%, 69%)
CMYKcmyk(14.9%, 73.7%, 0%, 31.4%)
CIE-LABlab(40.31, 60.07, -48.09)
CIE-LCHlch(40.31, 76.95, 321.32°)
OKLaboklab(51.2% 0.1533 -0.135)
OKLCHoklch(51.2% 0.204 318.6)
XYZxyz(21.1082, 11.4397, 41.6453)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952EAF #48AF2E
analogous
#542EAF #952EAF #AF2E88
triadic
#952EAF #AF952E #2EAF95
tetradic
#952EAF #AF542E #48AF2E #2E88AF
square
#952EAF #AF542E #48AF2E #2E88AF
split-complementary
#952EAF #88AF2E #2EAF54
monochromatic
#42154E #6C217F #952EAF #B54BD0 #C97BDC

Accessibility & contrast

On white

6.39
#952EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#952EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952EAF
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952EAF#FFFFFF#000000##FFFFFF
##952EAF1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.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: #952eaf;
/* rgb */ color: rgb(149, 46, 175);
/* oklch */ color: oklch(51.2% 0.204 318.6);
Tailwind
colors: {
  custom: {
    50: '#b871c7',
    500: '#952eaf',
    950: '#000000',
  },
}
SCSS
$custom: #952eaf;
$custom-light: #b871c7;
$custom-dark: #000000;
JSON
{
  "hex": "#952eaf",
  "rgb": {
    "r": 149,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 287.907,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51195,
    "c": 0.20426,
    "h": 318.6
  },
  "luminance": 0.11439
}

Semantic roles & 50–950 ramp

primary
#952EAF
secondary
#84C574
accent
#E24666
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #952EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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