#952FAC#952FAC

#952FAC is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.1% C 0.201 H 319.5°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#952FAC
RGBrgb(149, 47, 172)
HSLhsl(289, 57%, 43%)
HSVhsv(289, 73%, 67%)
CMYKcmyk(13.4%, 72.7%, 0%, 32.5%)
CIE-LABlab(40.25, 59.12, -46.41)
CIE-LCHlch(40.25, 75.16, 321.87°)
OKLaboklab(51.09% 0.1526 -0.1301)
OKLCHoklch(51.09% 0.201 319.5)
XYZxyz(20.8564, 11.4022, 40.1240)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952FAC #46AC2F
analogous
#562FAC #952FAC #AC2F84
triadic
#952FAC #AC952F #2FAC95
tetradic
#952FAC #AC562F #46AC2F #2F84AC
square
#952FAC #AC562F #46AC2F #2F84AC
split-complementary
#952FAC #84AC2F #2FAC56
monochromatic
#42154C #6B227C #952FAC #B64BCE #C97BDB

Accessibility & contrast

On white

6.40
#952FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#952FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952FAC
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952FAC#FFFFFF#000000##FFFFFF
##952FAC1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B0
Deuteranopia (green-blind)
#3962A9
Tritanopia (blue-blind)
#95476B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #952fac;
/* rgb */ color: rgb(149, 47, 172);
/* oklch */ color: oklch(51.1% 0.201 319.5);
Tailwind
colors: {
  custom: {
    50: '#b872c5',
    500: '#952fac',
    950: '#000000',
  },
}
SCSS
$custom: #952fac;
$custom-light: #b872c5;
$custom-dark: #000000;
JSON
{
  "hex": "#952fac",
  "rgb": {
    "r": 149,
    "g": 47,
    "b": 172
  },
  "hsl": {
    "h": 288.96,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5109,
    "c": 0.2005,
    "h": 319.5
  },
  "luminance": 0.11401
}

Semantic roles & 50–950 ramp

primary
#952FAC
secondary
#82C374
accent
#E04764
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #952FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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