#B852F4#B852F4

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

Color values

HEX#B852F4
RGBrgb(184, 82, 244)
HSLhsl(278, 88%, 64%)
HSVhsv(278, 66%, 96%)
CMYKcmyk(24.6%, 66.4%, 0%, 4.3%)
CIE-LABlab(54.82, 66.63, -64.12)
CIE-LCHlch(54.82, 92.47, 316.10°)
OKLaboklab(63.97% 0.1534 -0.1812)
OKLCHoklch(63.97% 0.237 310.3)
XYZxyz(39.1104, 22.7574, 87.9027)
Luminance0.2276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B852F4 #8EF452
analogous
#6752F4 #B852F4 #F452DF
triadic
#B852F4 #F4B852 #52F4B8
tetradic
#B852F4 #F46752 #8EF452 #52DFF4
square
#B852F4 #F46752 #8EF452 #52DFF4
split-complementary
#B852F4 #DFF452 #52F467
monochromatic
#7D0CBF #A018F0 #B852F4 #D08CF8 #E7C5FB

Accessibility & contrast

On white

3.78
#B852F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#B852F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B852F4
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B852F4#FFFFFF#000000##000000
##B852F41.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF9
Deuteranopia (green-blind)
#3A85F0
Tritanopia (blue-blind)
#B0749D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b852f4;
/* rgb */ color: rgb(184, 82, 244);
/* oklch */ color: oklch(64.0% 0.237 310.3);
Tailwind
colors: {
  custom: {
    50: '#d289f9',
    500: '#b852f4',
    950: '#000000',
  },
}
SCSS
$custom: #b852f4;
$custom-light: #d289f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b852f4",
  "rgb": {
    "r": 184,
    "g": 82,
    "b": 244
  },
  "hsl": {
    "h": 277.778,
    "s": 88.043,
    "l": 63.922
  },
  "oklch": {
    "l": 0.63972,
    "c": 0.23742,
    "h": 310.3
  },
  "luminance": 0.22757
}

Semantic roles & 50–950 ramp

primary
#B852F4
secondary
#CAEDB4
accent
#E50155
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#150C17
muted
#837D85

Preview Lab

Preview with #B852F4

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

Preview Lab → · Contrast checker → · Palette generator →

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