#B952DF#B952DF

#B952DF is a light, highly saturated purple. Relative luminance 0.217; OKLCH L 62.8% C 0.218 H 315.7°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#B952DF
RGBrgb(185, 82, 223)
HSLhsl(284, 69%, 60%)
HSVhsv(284, 63%, 87%)
CMYKcmyk(17%, 63.2%, 0%, 12.5%)
CIE-LABlab(53.68, 62.55, -54.15)
CIE-LCHlch(53.68, 82.73, 319.11°)
OKLaboklab(62.78% 0.1558 -0.1519)
OKLCHoklch(62.78% 0.218 315.7)
XYZxyz(36.3421, 21.6779, 72.0676)
Luminance0.2168 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B952DF #78DF52
analogous
#7352DF #B952DF #DF52BE
triadic
#B952DF #DFB952 #52DFB9
tetradic
#B952DF #DF7352 #78DF52 #52BEDF
square
#B952DF #DF7352 #78DF52 #52BEDF
split-complementary
#B952DF #BEDF52 #52DF73
monochromatic
#781D9A #A126CE #B952DF #CE86E9 #E3B9F2

Accessibility & contrast

On white

3.94
#B952DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#B952DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B952DF
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B952DF#FFFFFF#000000##000000
##B952DF1.003.945.345.34
#FFFFFF3.941.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C7AE3
Deuteranopia (green-blind)
#5183DC
Tritanopia (blue-blind)
#B76C91
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b952df;
/* rgb */ color: rgb(185, 82, 223);
/* oklch */ color: oklch(62.8% 0.218 315.7);
Tailwind
colors: {
  custom: {
    50: '#d289ea',
    500: '#b952df',
    950: '#000000',
  },
}
SCSS
$custom: #b952df;
$custom-light: #d289ea;
$custom-dark: #000000;
JSON
{
  "hex": "#b952df",
  "rgb": {
    "r": 185,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 283.83,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.62775,
    "c": 0.21759,
    "h": 315.7
  },
  "luminance": 0.21677
}

Semantic roles & 50–950 ramp

primary
#B952DF
secondary
#BAE2AB
accent
#EC3C6B
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B952DF

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

Preview Lab → · Contrast checker → · Palette generator →

#B952DF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva