#B852EA#B852EA

#B852EA is a light, highly saturated purple. Relative luminance 0.222; OKLCH L 63.3% C 0.228 H 312.6°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#B852EA
RGBrgb(184, 82, 234)
HSLhsl(280, 78%, 62%)
HSVhsv(280, 65%, 92%)
CMYKcmyk(21.4%, 65%, 0%, 8.2%)
CIE-LABlab(54.20, 64.55, -59.52)
CIE-LCHlch(54.20, 87.81, 317.32°)
OKLaboklab(63.33% 0.1542 -0.1677)
OKLCHoklch(63.33% 0.228 312.6)
XYZxyz(37.6331, 22.1665, 80.1221)
Luminance0.2217 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B852EA #84EA52
analogous
#6C52EA #B852EA #EA52D0
triadic
#B852EA #EAB852 #52EAB8
tetradic
#B852EA #EA6C52 #84EA52 #52D0EA
square
#B852EA #EA6C52 #84EA52 #52D0EA
split-complementary
#B852EA #D0EA52 #52EA6C
monochromatic
#7B15AD #A21CE3 #B852EA #CE89F1 #E5BFF7

Accessibility & contrast

On white

3.87
#B852EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#B852EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B852EA
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B852EA#FFFFFF#000000##000000
##B852EA1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEF
Deuteranopia (green-blind)
#4684E6
Tritanopia (blue-blind)
#B37097
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b852ea;
/* rgb */ color: rgb(184, 82, 234);
/* oklch */ color: oklch(63.3% 0.228 312.6);
Tailwind
colors: {
  custom: {
    50: '#d189f1',
    500: '#b852ea',
    950: '#000000',
  },
}
SCSS
$custom: #b852ea;
$custom-light: #d189f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b852ea",
  "rgb": {
    "r": 184,
    "g": 82,
    "b": 234
  },
  "hsl": {
    "h": 280.263,
    "s": 78.351,
    "l": 61.961
  },
  "oklch": {
    "l": 0.63331,
    "c": 0.22777,
    "h": 312.6
  },
  "luminance": 0.22165
}

Semantic roles & 50–950 ramp

primary
#B852EA
secondary
#C2E8B0
accent
#DB0B4F
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B852EA

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

Preview Lab → · Contrast checker → · Palette generator →

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