#952DBF#952DBF

#952DBF is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.2% C 0.219 H 313.9°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#952DBF
RGBrgb(149, 45, 191)
HSLhsl(283, 62%, 46%)
HSVhsv(283, 76%, 75%)
CMYKcmyk(22%, 76.4%, 0%, 25.1%)
CIE-LABlab(41.26, 63.56, -55.99)
CIE-LCHlch(41.26, 84.70, 318.62°)
OKLaboklab(52.21% 0.1521 -0.1582)
OKLCHoklch(52.21% 0.219 313.9)
XYZxyz(22.7352, 12.0287, 50.4043)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952DBF #57BF2D
analogous
#4C2DBF #952DBF #BF2DA0
triadic
#952DBF #BF952D #2DBF95
tetradic
#952DBF #BF4C2D #57BF2D #2DA0BF
square
#952DBF #BF4C2D #57BF2D #2DA0BF
split-complementary
#952DBF #A0BF2D #2DBF4C
monochromatic
#48165C #6E218D #952DBF #B153D6 #C784E2

Accessibility & contrast

On white

6.17
#952DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#952DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952DBF
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952DBF#FFFFFF#000000##FFFFFF
##952DBF1.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC3
Deuteranopia (green-blind)
#2064BC
Tritanopia (blue-blind)
#914F75
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #952dbf;
/* rgb */ color: rgb(149, 45, 191);
/* oklch */ color: oklch(52.2% 0.219 313.9);
Tailwind
colors: {
  custom: {
    50: '#b971d3',
    500: '#952dbf',
    950: '#000000',
  },
}
SCSS
$custom: #952dbf;
$custom-light: #b971d3;
$custom-dark: #000000;
JSON
{
  "hex": "#952dbf",
  "rgb": {
    "r": 149,
    "g": 45,
    "b": 191
  },
  "hsl": {
    "h": 282.74,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52209,
    "c": 0.21942,
    "h": 313.9
  },
  "luminance": 0.12028
}

Semantic roles & 50–950 ramp

primary
#952DBF
secondary
#93CB7C
accent
#E54371
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #952DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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