#B852F5#B852F5

#B852F5 is a light, highly saturated violet. Relative luminance 0.228; OKLCH L 64.0% C 0.238 H 310.0°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#B852F5
RGBrgb(184, 82, 245)
HSLhsl(278, 89%, 64%)
HSVhsv(278, 67%, 96%)
CMYKcmyk(24.9%, 66.5%, 0%, 3.9%)
CIE-LABlab(54.88, 66.84, -64.58)
CIE-LCHlch(54.88, 92.94, 315.99°)
OKLaboklab(64.04% 0.1534 -0.1825)
OKLCHoklch(64.04% 0.238 310)
XYZxyz(39.2627, 22.8183, 88.7045)
Luminance0.2282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B852F5 #8FF552
analogous
#6752F5 #B852F5 #F552E1
triadic
#B852F5 #F5B852 #52F5B8
tetradic
#B852F5 #F56752 #8FF552 #52E1F5
square
#B852F5 #F56752 #8FF552 #52E1F5
split-complementary
#B852F5 #E1F552 #52F567
monochromatic
#7D0BC1 #A018F2 #B852F5 #D08CF8 #E7C6FC

Accessibility & contrast

On white

3.77
#B852F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#B852F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B852F5
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B852F5#FFFFFF#000000##000000
##B852F51.003.775.565.56
#FFFFFF3.771.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFA
Deuteranopia (green-blind)
#3985F1
Tritanopia (blue-blind)
#B0749D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b852f5;
/* rgb */ color: rgb(184, 82, 245);
/* oklch */ color: oklch(64.0% 0.238 310.0);
Tailwind
colors: {
  custom: {
    50: '#d289f9',
    500: '#b852f5',
    950: '#000000',
  },
}
SCSS
$custom: #b852f5;
$custom-light: #d289f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b852f5",
  "rgb": {
    "r": 184,
    "g": 82,
    "b": 245
  },
  "hsl": {
    "h": 277.546,
    "s": 89.071,
    "l": 64.118
  },
  "oklch": {
    "l": 0.64038,
    "c": 0.2384,
    "h": 310
  },
  "luminance": 0.22818
}

Semantic roles & 50–950 ramp

primary
#B852F5
secondary
#CAEEB5
accent
#E60056
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#150C17
muted
#837D85

Preview Lab

Preview with #B852F5

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

Preview Lab → · Contrast checker → · Palette generator →

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