#B852E7#B852E7

#B852E7 is a light, highly saturated purple. Relative luminance 0.220; OKLCH L 63.1% C 0.225 H 313.3°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#B852E7
RGBrgb(184, 82, 231)
HSLhsl(281, 76%, 61%)
HSVhsv(281, 65%, 91%)
CMYKcmyk(20.3%, 64.5%, 0%, 9.4%)
CIE-LABlab(54.02, 63.94, -58.13)
CIE-LCHlch(54.02, 86.41, 317.73°)
OKLaboklab(63.14% 0.1543 -0.1636)
OKLCHoklch(63.14% 0.225 313.3)
XYZxyz(37.2058, 21.9955, 77.8715)
Luminance0.2199 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B852E7 #81E752
analogous
#6E52E7 #B852E7 #E752CC
triadic
#B852E7 #E7B852 #52E7B8
tetradic
#B852E7 #E76E52 #81E752 #52CCE7
square
#B852E7 #E76E52 #81E752 #52CCE7
split-complementary
#B852E7 #CCE752 #52E76E
monochromatic
#7A17A7 #A11FDD #B852E7 #CE88EE #E4BDF6

Accessibility & contrast

On white

3.89
#B852E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#B852E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B852E7
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B852E7#FFFFFF#000000##000000
##B852E71.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEB
Deuteranopia (green-blind)
#4984E4
Tritanopia (blue-blind)
#B36F96
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b852e7;
/* rgb */ color: rgb(184, 82, 231);
/* oklch */ color: oklch(63.1% 0.225 313.3);
Tailwind
colors: {
  custom: {
    50: '#d189ef',
    500: '#b852e7',
    950: '#000000',
  },
}
SCSS
$custom: #b852e7;
$custom-light: #d189ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b852e7",
  "rgb": {
    "r": 184,
    "g": 82,
    "b": 231
  },
  "hsl": {
    "h": 281.074,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.63143,
    "c": 0.22488,
    "h": 313.3
  },
  "luminance": 0.21994
}

Semantic roles & 50–950 ramp

primary
#B852E7
secondary
#C0E6AF
accent
#D80E4D
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B852E7

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

Preview Lab → · Contrast checker → · Palette generator →

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