#952EAC#952EAC

#952EAC is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.0% C 0.202 H 319.6°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#952EAC
RGBrgb(149, 46, 172)
HSLhsl(289, 58%, 43%)
HSVhsv(289, 73%, 67%)
CMYKcmyk(13.4%, 73.3%, 0%, 32.5%)
CIE-LABlab(40.12, 59.50, -46.61)
CIE-LCHlch(40.12, 75.58, 321.92°)
OKLaboklab(51% 0.1535 -0.1307)
OKLCHoklch(51% 0.202 319.6)
XYZxyz(20.8169, 11.3231, 40.1108)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952EAC #45AC2E
analogous
#562EAC #952EAC #AC2E84
triadic
#952EAC #AC952E #2EAC95
tetradic
#952EAC #AC562E #45AC2E #2E84AC
square
#952EAC #AC562E #45AC2E #2E84AC
split-complementary
#952EAC #84AC2E #2EAC56
monochromatic
#41144B #6B217C #952EAC #B649CE #C979DB

Accessibility & contrast

On white

6.43
#952EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#952EAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952EAC
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952EAC#FFFFFF#000000##FFFFFF
##952EAC1.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B0
Deuteranopia (green-blind)
#3862A9
Tritanopia (blue-blind)
#95476B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #952eac;
/* rgb */ color: rgb(149, 46, 172);
/* oklch */ color: oklch(51.0% 0.202 319.6);
Tailwind
colors: {
  custom: {
    50: '#b871c5',
    500: '#952eac',
    950: '#000000',
  },
}
SCSS
$custom: #952eac;
$custom-light: #b871c5;
$custom-dark: #000000;
JSON
{
  "hex": "#952eac",
  "rgb": {
    "r": 149,
    "g": 46,
    "b": 172
  },
  "hsl": {
    "h": 289.048,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50997,
    "c": 0.20164,
    "h": 319.6
  },
  "luminance": 0.11322
}

Semantic roles & 50–950 ramp

primary
#952EAC
secondary
#81C372
accent
#E14763
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #952EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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