#952AAF#952AAF

#952AAF is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.8% C 0.209 H 318.8°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#952AAF
RGBrgb(149, 42, 175)
HSLhsl(288, 61%, 43%)
HSVhsv(288, 76%, 69%)
CMYKcmyk(14.9%, 76%, 0%, 31.4%)
CIE-LABlab(39.82, 61.48, -48.88)
CIE-LCHlch(39.82, 78.55, 321.51°)
OKLaboklab(50.85% 0.157 -0.1373)
OKLCHoklch(50.85% 0.209 318.8)
XYZxyz(20.9592, 11.1416, 41.5957)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952AAF #44AF2A
analogous
#532AAF #952AAF #AF2A86
triadic
#952AAF #AF952A #2AAF95
tetradic
#952AAF #AF532A #44AF2A #2A86AF
square
#952AAF #AF532A #44AF2A #2A86AF
split-complementary
#952AAF #86AF2A #2AAF53
monochromatic
#41124C #6B1E7E #952AAF #B644D2 #CA75DE

Accessibility & contrast

On white

6.51
#952AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#952AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952AAF
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952AAF#FFFFFF#000000##FFFFFF
##952AAF1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B3
Deuteranopia (green-blind)
#3361AC
Tritanopia (blue-blind)
#95466B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #952aaf;
/* rgb */ color: rgb(149, 42, 175);
/* oklch */ color: oklch(50.8% 0.209 318.8);
Tailwind
colors: {
  custom: {
    50: '#b86fc7',
    500: '#952aaf',
    950: '#000000',
  },
}
SCSS
$custom: #952aaf;
$custom-light: #b86fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#952aaf",
  "rgb": {
    "r": 149,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 288.271,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50845,
    "c": 0.20855,
    "h": 318.8
  },
  "luminance": 0.11141
}

Semantic roles & 50–950 ramp

primary
#952AAF
secondary
#80C66F
accent
#E44363
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #952AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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