#952ABA#952ABA

#952ABA is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.6% C 0.218 H 315.5°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#952ABA
RGBrgb(149, 42, 186)
HSLhsl(285, 63%, 45%)
HSVhsv(285, 77%, 73%)
CMYKcmyk(19.9%, 77.4%, 0%, 27.1%)
CIE-LABlab(40.56, 63.59, -54.19)
CIE-LCHlch(40.56, 83.55, 319.57°)
OKLaboklab(51.6% 0.1554 -0.1529)
OKLCHoklch(51.6% 0.218 315.5)
XYZxyz(22.0839, 11.5915, 47.5190)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952ABA #4FBA2A
analogous
#4D2ABA #952ABA #BA2A97
triadic
#952ABA #BA952A #2ABA95
tetradic
#952ABA #BA4D2A #4FBA2A #2A97BA
square
#952ABA #BA4D2A #4FBA2A #2A97BA
split-complementary
#952ABA #97BA2A #2ABA4D
monochromatic
#451356 #6D1F88 #952ABA #B24BD6 #C87DE2

Accessibility & contrast

On white

6.33
#952ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#952ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952ABA
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952ABA#FFFFFF#000000##FFFFFF
##952ABA1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#2562B7
Tritanopia (blue-blind)
#924B71
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #952aba;
/* rgb */ color: rgb(149, 42, 186);
/* oklch */ color: oklch(51.6% 0.218 315.5);
Tailwind
colors: {
  custom: {
    50: '#b970cf',
    500: '#952aba',
    950: '#000000',
  },
}
SCSS
$custom: #952aba;
$custom-light: #b970cf;
$custom-dark: #000000;
JSON
{
  "hex": "#952aba",
  "rgb": {
    "r": 149,
    "g": 42,
    "b": 186
  },
  "hsl": {
    "h": 284.583,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51604,
    "c": 0.21803,
    "h": 315.5
  },
  "luminance": 0.11591
}

Semantic roles & 50–950 ramp

primary
#952ABA
secondary
#8BCA76
accent
#E6426C
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #952ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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