#952FAB#952FAB

#952FAB is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.0% C 0.200 H 319.9°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#952FAB
RGBrgb(149, 47, 171)
HSLhsl(289, 57%, 43%)
HSVhsv(289, 73%, 67%)
CMYKcmyk(12.9%, 72.5%, 0%, 32.9%)
CIE-LABlab(40.19, 58.93, -45.91)
CIE-LCHlch(40.19, 74.71, 322.08°)
OKLaboklab(51.03% 0.1526 -0.1286)
OKLCHoklch(51.03% 0.2 319.9)
XYZxyz(20.7607, 11.3639, 39.6201)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952FAB #45AB2F
analogous
#572FAB #952FAB #AB2F83
triadic
#952FAB #AB952F #2FAB95
tetradic
#952FAB #AB572F #45AB2F #2F83AB
square
#952FAB #AB572F #45AB2F #2F83AB
split-complementary
#952FAB #83AB2F #2FAB57
monochromatic
#41154B #6B227B #952FAB #B64ACD #C97ADA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##952FAB#FFFFFF#000000##FFFFFF
##952FAB1.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)
#0058AE
Deuteranopia (green-blind)
#3A62A8
Tritanopia (blue-blind)
#95476A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #952fab;
/* rgb */ color: rgb(149, 47, 171);
/* oklch */ color: oklch(51.0% 0.200 319.9);
Tailwind
colors: {
  custom: {
    50: '#b871c5',
    500: '#952fab',
    950: '#000000',
  },
}
SCSS
$custom: #952fab;
$custom-light: #b871c5;
$custom-dark: #000000;
JSON
{
  "hex": "#952fab",
  "rgb": {
    "r": 149,
    "g": 47,
    "b": 171
  },
  "hsl": {
    "h": 289.355,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51025,
    "c": 0.19962,
    "h": 319.9
  },
  "luminance": 0.11363
}

Semantic roles & 50–950 ramp

primary
#952FAB
secondary
#81C373
accent
#E04863
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #952FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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