#952FAF#952FAF

#952FAF is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.3% C 0.203 H 318.6°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#952FAF
RGBrgb(149, 47, 175)
HSLhsl(288, 58%, 44%)
HSVhsv(288, 73%, 69%)
CMYKcmyk(14.9%, 73.1%, 0%, 31.4%)
CIE-LABlab(40.44, 59.70, -47.88)
CIE-LCHlch(40.44, 76.53, 321.27°)
OKLaboklab(51.29% 0.1523 -0.1344)
OKLCHoklch(51.29% 0.203 318.6)
XYZxyz(21.1478, 11.5187, 41.6585)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952FAF #49AF2F
analogous
#552FAF #952FAF #AF2F89
triadic
#952FAF #AF952F #2FAF95
tetradic
#952FAF #AF552F #49AF2F #2F89AF
square
#952FAF #AF552F #49AF2F #2F89AF
split-complementary
#952FAF #89AF2F #2FAF55
monochromatic
#43154F #6C227F #952FAF #B44CCF #C97CDC

Accessibility & contrast

On white

6.36
#952FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#952FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952FAF
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952FAF#FFFFFF#000000##FFFFFF
##952FAF1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#3663AC
Tritanopia (blue-blind)
#95496C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #952faf;
/* rgb */ color: rgb(149, 47, 175);
/* oklch */ color: oklch(51.3% 0.203 318.6);
Tailwind
colors: {
  custom: {
    50: '#b872c7',
    500: '#952faf',
    950: '#000000',
  },
}
SCSS
$custom: #952faf;
$custom-light: #b872c7;
$custom-dark: #000000;
JSON
{
  "hex": "#952faf",
  "rgb": {
    "r": 149,
    "g": 47,
    "b": 175
  },
  "hsl": {
    "h": 287.813,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51287,
    "c": 0.20314,
    "h": 318.6
  },
  "luminance": 0.11518
}

Semantic roles & 50–950 ramp

primary
#952FAF
secondary
#85C475
accent
#E14766
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #952FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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