#952FBA#952FBA

#952FBA is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.0% C 0.213 H 315.2°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#952FBA
RGBrgb(149, 47, 186)
HSLhsl(284, 60%, 46%)
HSVhsv(284, 75%, 73%)
CMYKcmyk(19.9%, 74.7%, 0%, 27.1%)
CIE-LABlab(41.17, 61.85, -53.21)
CIE-LCHlch(41.17, 81.59, 319.30°)
OKLaboklab(52.03% 0.151 -0.15)
OKLCHoklch(52.03% 0.213 315.2)
XYZxyz(22.2724, 11.9686, 47.5818)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952FBA #54BA2F
analogous
#4F2FBA #952FBA #BA2F99
triadic
#952FBA #BA952F #2FBA95
tetradic
#952FBA #BA4F2F #54BA2F #2F99BA
square
#952FBA #BA4F2F #54BA2F #2F99BA
split-complementary
#952FBA #99BA2F #2FBA4F
monochromatic
#471658 #6E2389 #952FBA #B153D3 #C784E0

Accessibility & contrast

On white

6.19
#952FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#952FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952FBA
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952FBA#FFFFFF#000000##FFFFFF
##952FBA1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#2A64B7
Tritanopia (blue-blind)
#924E73
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #952fba;
/* rgb */ color: rgb(149, 47, 186);
/* oklch */ color: oklch(52.0% 0.213 315.2);
Tailwind
colors: {
  custom: {
    50: '#b872cf',
    500: '#952fba',
    950: '#000000',
  },
}
SCSS
$custom: #952fba;
$custom-light: #b872cf;
$custom-dark: #000000;
JSON
{
  "hex": "#952fba",
  "rgb": {
    "r": 149,
    "g": 47,
    "b": 186
  },
  "hsl": {
    "h": 284.029,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52033,
    "c": 0.2129,
    "h": 315.2
  },
  "luminance": 0.11968
}

Semantic roles & 50–950 ramp

primary
#952FBA
secondary
#90C97C
accent
#E3456F
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #952FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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