#952BAF#952BAF

#952BAF is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.9% C 0.208 H 318.8°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#952BAF
RGBrgb(149, 43, 175)
HSLhsl(288, 61%, 43%)
HSVhsv(288, 75%, 69%)
CMYKcmyk(14.9%, 75.4%, 0%, 31.4%)
CIE-LABlab(39.94, 61.14, -48.69)
CIE-LCHlch(39.94, 78.16, 321.47°)
OKLaboklab(50.93% 0.1561 -0.1368)
OKLCHoklch(50.93% 0.208 318.8)
XYZxyz(20.9951, 11.2135, 41.6076)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952BAF #45AF2B
analogous
#532BAF #952BAF #AF2B87
triadic
#952BAF #AF952B #2BAF95
tetradic
#952BAF #AF532B #45AF2B #2B87AF
square
#952BAF #AF532B #45AF2B #2B87AF
split-complementary
#952BAF #87AF2B #2BAF53
monochromatic
#41134D #6B1F7E #952BAF #B646D1 #C977DE

Accessibility & contrast

On white

6.48
#952BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#952BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952BAF
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952BAF#FFFFFF#000000##FFFFFF
##952BAF1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B3
Deuteranopia (green-blind)
#3361AC
Tritanopia (blue-blind)
#95476B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #952baf;
/* rgb */ color: rgb(149, 43, 175);
/* oklch */ color: oklch(50.9% 0.208 318.8);
Tailwind
colors: {
  custom: {
    50: '#b870c7',
    500: '#952baf',
    950: '#000000',
  },
}
SCSS
$custom: #952baf;
$custom-light: #b870c7;
$custom-dark: #000000;
JSON
{
  "hex": "#952baf",
  "rgb": {
    "r": 149,
    "g": 43,
    "b": 175
  },
  "hsl": {
    "h": 288.182,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.5093,
    "c": 0.20751,
    "h": 318.8
  },
  "luminance": 0.11212
}

Semantic roles & 50–950 ramp

primary
#952BAF
secondary
#81C570
accent
#E44464
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #952BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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