#B852E6#B852E6

#B852E6 is a light, highly saturated purple. Relative luminance 0.219; OKLCH L 63.1% C 0.224 H 313.6°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#B852E6
RGBrgb(184, 82, 230)
HSLhsl(281, 75%, 61%)
HSVhsv(281, 64%, 90%)
CMYKcmyk(20%, 64.3%, 0%, 9.8%)
CIE-LABlab(53.96, 63.73, -57.66)
CIE-LCHlch(53.96, 85.95, 317.86°)
OKLaboklab(63.08% 0.1543 -0.1622)
OKLCHoklch(63.08% 0.224 313.6)
XYZxyz(37.0649, 21.9392, 77.1298)
Luminance0.2194 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B852E6 #80E652
analogous
#6E52E6 #B852E6 #E652CA
triadic
#B852E6 #E6B852 #52E6B8
tetradic
#B852E6 #E66E52 #80E652 #52CAE6
square
#B852E6 #E66E52 #80E652 #52CAE6
split-complementary
#B852E6 #CAE652 #52E66E
monochromatic
#7A18A6 #A120DB #B852E6 #CE87EE #E4BDF5

Accessibility & contrast

On white

3.90
#B852E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#B852E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B852E6
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B852E6#FFFFFF#000000##000000
##B852E61.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEA
Deuteranopia (green-blind)
#4A83E3
Tritanopia (blue-blind)
#B46F95
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b852e6;
/* rgb */ color: rgb(184, 82, 230);
/* oklch */ color: oklch(63.1% 0.224 313.6);
Tailwind
colors: {
  custom: {
    50: '#d189ef',
    500: '#b852e6',
    950: '#000000',
  },
}
SCSS
$custom: #b852e6;
$custom-light: #d189ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b852e6",
  "rgb": {
    "r": 184,
    "g": 82,
    "b": 230
  },
  "hsl": {
    "h": 281.351,
    "s": 74.747,
    "l": 61.176
  },
  "oklch": {
    "l": 0.6308,
    "c": 0.22392,
    "h": 313.6
  },
  "luminance": 0.21938
}

Semantic roles & 50–950 ramp

primary
#B852E6
secondary
#BFE6AE
accent
#D70F4D
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B852E6

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

Preview Lab → · Contrast checker → · Palette generator →

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