#952BAC#952BAC

#952BAC is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.7% C 0.205 H 319.7°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#952BAC
RGBrgb(149, 43, 172)
HSLhsl(289, 60%, 42%)
HSVhsv(289, 75%, 67%)
CMYKcmyk(13.4%, 75%, 0%, 32.5%)
CIE-LABlab(39.74, 60.57, -47.22)
CIE-LCHlch(39.74, 76.80, 322.06°)
OKLaboklab(50.73% 0.1564 -0.1325)
OKLCHoklch(50.73% 0.205 319.7)
XYZxyz(20.7038, 11.0969, 40.0731)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952BAC #42AC2B
analogous
#542BAC #952BAC #AC2B83
triadic
#952BAC #AC952B #2BAC95
tetradic
#952BAC #AC542B #42AC2B #2B83AC
square
#952BAC #AC542B #42AC2B #2B83AC
split-complementary
#952BAC #83AC2B #2BAC54
monochromatic
#40134A #6B1F7B #952BAC #B744D0 #CA75DC

Accessibility & contrast

On white

6.52
#952BAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#952BAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952BAC
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952BAC#FFFFFF#000000##FFFFFF
##952BAC1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B0
Deuteranopia (green-blind)
#3661A9
Tritanopia (blue-blind)
#95456A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #952bac;
/* rgb */ color: rgb(149, 43, 172);
/* oklch */ color: oklch(50.7% 0.205 319.7);
Tailwind
colors: {
  custom: {
    50: '#b870c5',
    500: '#952bac',
    950: '#000000',
  },
}
SCSS
$custom: #952bac;
$custom-light: #b870c5;
$custom-dark: #000000;
JSON
{
  "hex": "#952bac",
  "rgb": {
    "r": 149,
    "g": 43,
    "b": 172
  },
  "hsl": {
    "h": 289.302,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.5073,
    "c": 0.20493,
    "h": 319.7
  },
  "luminance": 0.11096
}

Semantic roles & 50–950 ramp

primary
#952BAC
secondary
#7EC46F
accent
#E34561
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #952BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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