#B852F3#B852F3

#B852F3 is a light, highly saturated violet. Relative luminance 0.227; OKLCH L 63.9% C 0.236 H 310.5°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#B852F3
RGBrgb(184, 82, 243)
HSLhsl(278, 87%, 64%)
HSVhsv(278, 66%, 95%)
CMYKcmyk(24.3%, 66.3%, 0%, 4.7%)
CIE-LABlab(54.76, 66.42, -63.67)
CIE-LCHlch(54.76, 92.01, 316.21°)
OKLaboklab(63.91% 0.1535 -0.1798)
OKLCHoklch(63.91% 0.236 310.5)
XYZxyz(38.9590, 22.6968, 87.1053)
Luminance0.2270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B852F3 #8DF352
analogous
#6752F3 #B852F3 #F352DE
triadic
#B852F3 #F3B852 #52F3B8
tetradic
#B852F3 #F36752 #8DF352 #52DEF3
square
#B852F3 #F36752 #8DF352 #52DEF3
split-complementary
#B852F3 #DEF352 #52F367
monochromatic
#7D0DBD #A119EF #B852F3 #CF8BF7 #E7C4FB

Accessibility & contrast

On white

3.79
#B852F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#B852F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B852F3
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B852F3#FFFFFF#000000##000000
##B852F31.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF8
Deuteranopia (green-blind)
#3B85EF
Tritanopia (blue-blind)
#B0749C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b852f3;
/* rgb */ color: rgb(184, 82, 243);
/* oklch */ color: oklch(63.9% 0.236 310.5);
Tailwind
colors: {
  custom: {
    50: '#d289f8',
    500: '#b852f3',
    950: '#000000',
  },
}
SCSS
$custom: #b852f3;
$custom-light: #d289f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b852f3",
  "rgb": {
    "r": 184,
    "g": 82,
    "b": 243
  },
  "hsl": {
    "h": 278.012,
    "s": 87.027,
    "l": 63.725
  },
  "oklch": {
    "l": 0.63907,
    "c": 0.23646,
    "h": 310.5
  },
  "luminance": 0.22696
}

Semantic roles & 50–950 ramp

primary
#B852F3
secondary
#C9EDB4
accent
#E40255
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#150C17
muted
#837D85

Preview Lab

Preview with #B852F3

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

Preview Lab → · Contrast checker → · Palette generator →

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