#B852DF#B852DF

#B852DF is a light, highly saturated purple. Relative luminance 0.216; OKLCH L 62.7% C 0.217 H 315.4°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#B852DF
RGBrgb(184, 82, 223)
HSLhsl(283, 69%, 60%)
HSVhsv(283, 63%, 87%)
CMYKcmyk(17.5%, 63.2%, 0%, 12.5%)
CIE-LABlab(53.55, 62.32, -54.37)
CIE-LCHlch(53.55, 82.70, 318.89°)
OKLaboklab(62.65% 0.1546 -0.1526)
OKLCHoklch(62.65% 0.217 315.4)
XYZxyz(36.1016, 21.5539, 72.0563)
Luminance0.2155 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B852DF #79DF52
analogous
#7152DF #B852DF #DF52C0
triadic
#B852DF #DFB852 #52DFB8
tetradic
#B852DF #DF7152 #79DF52 #52C0DF
square
#B852DF #DF7152 #79DF52 #52C0DF
split-complementary
#B852DF #C0DF52 #52DF71
monochromatic
#771D9A #9F26CE #B852DF #CD86E9 #E2B9F2

Accessibility & contrast

On white

3.95
#B852DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#B852DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B852DF
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B852DF#FFFFFF#000000##000000
##B852DF1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A7AE3
Deuteranopia (green-blind)
#5083DC
Tritanopia (blue-blind)
#B56C91
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b852df;
/* rgb */ color: rgb(184, 82, 223);
/* oklch */ color: oklch(62.7% 0.217 315.4);
Tailwind
colors: {
  custom: {
    50: '#d189ea',
    500: '#b852df',
    950: '#000000',
  },
}
SCSS
$custom: #b852df;
$custom-light: #d189ea;
$custom-dark: #000000;
JSON
{
  "hex": "#b852df",
  "rgb": {
    "r": 184,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 283.404,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.62651,
    "c": 0.21721,
    "h": 315.4
  },
  "luminance": 0.21553
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B852DF

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

Preview Lab → · Contrast checker → · Palette generator →

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