#952FA2#952FA2

#952FA2 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.5% C 0.192 H 323.0°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#952FA2
RGBrgb(149, 47, 162)
HSLhsl(293, 55%, 41%)
HSVhsv(293, 71%, 64%)
CMYKcmyk(8%, 71%, 0%, 36.5%)
CIE-LABlab(39.63, 57.25, -41.41)
CIE-LCHlch(39.63, 70.66, 324.12°)
OKLaboklab(50.45% 0.1531 -0.1155)
OKLCHoklch(50.45% 0.192 323)
XYZxyz(19.9319, 11.0324, 35.2550)
Luminance0.1103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952FA2 #3CA22F
analogous
#5B2FA2 #952FA2 #A22F75
triadic
#952FA2 #A2952F #2FA295
tetradic
#952FA2 #A25B2F #3CA22F #2F75A2
square
#952FA2 #A25B2F #3CA22F #2F75A2
split-complementary
#952FA2 #75A22F #2FA25B
monochromatic
#3E1343 #692173 #952FA2 #BA45C9 #CC75D7

Accessibility & contrast

On white

6.55
#952FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#952FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952FA2
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952FA2#FFFFFF#000000##FFFFFF
##952FA21.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0556A5
Deuteranopia (green-blind)
#41619F
Tritanopia (blue-blind)
#974365
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #952fa2;
/* rgb */ color: rgb(149, 47, 162);
/* oklch */ color: oklch(50.5% 0.192 323.0);
Tailwind
colors: {
  custom: {
    50: '#b871be',
    500: '#952fa2',
    950: '#000000',
  },
}
SCSS
$custom: #952fa2;
$custom-light: #b871be;
$custom-dark: #000000;
JSON
{
  "hex": "#952fa2",
  "rgb": {
    "r": 149,
    "g": 47,
    "b": 162
  },
  "hsl": {
    "h": 293.217,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50454,
    "c": 0.1918,
    "h": 323
  },
  "luminance": 0.11031
}

Semantic roles & 50–950 ramp

primary
#952FA2
secondary
#77BF6E
accent
#DE495A
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #952FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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