#B852FE#B852FE

#B852FE is a light, highly saturated violet. Relative luminance 0.234; OKLCH L 64.6% C 0.247 H 308.1°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#B852FE
RGBrgb(184, 82, 254)
HSLhsl(276, 99%, 66%)
HSVhsv(276, 68%, 100%)
CMYKcmyk(27.6%, 67.7%, 0%, 0.4%)
CIE-LABlab(55.46, 68.75, -68.64)
CIE-LCHlch(55.46, 97.15, 315.04°)
OKLaboklab(64.63% 0.1525 -0.1945)
OKLCHoklch(64.63% 0.247 308.1)
XYZxyz(40.6702, 23.3813, 96.1172)
Luminance0.2338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B852FE #98FE52
analogous
#6252FE #B852FE #FE52EE
triadic
#B852FE #FEB852 #52FEB8
tetradic
#B852FE #FE6252 #98FE52 #52EEFE
square
#B852FE #FE6252 #98FE52 #52EEFE
split-complementary
#B852FE #EEFE52 #52FE62
monochromatic
#7E01D4 #9F15FE #B852FE #D18FFE #EACCFF

Accessibility & contrast

On white

3.70
#B852FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#B852FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B852FE
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B852FE#FFFFFF#000000##000000
##B852FE1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#2A86FA
Tritanopia (blue-blind)
#AD78A2
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b852fe;
/* rgb */ color: rgb(184, 82, 254);
/* oklch */ color: oklch(64.6% 0.247 308.1);
Tailwind
colors: {
  custom: {
    50: '#d28aff',
    500: '#b852fe',
    950: '#000000',
  },
}
SCSS
$custom: #b852fe;
$custom-light: #d28aff;
$custom-dark: #000000;
JSON
{
  "hex": "#b852fe",
  "rgb": {
    "r": 184,
    "g": 82,
    "b": 254
  },
  "hsl": {
    "h": 275.581,
    "s": 98.851,
    "l": 65.882
  },
  "oklch": {
    "l": 0.64635,
    "c": 0.2471,
    "h": 308.1
  },
  "luminance": 0.23381
}

Semantic roles & 50–950 ramp

primary
#B852FE
secondary
#D1F2B9
accent
#E6005D
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C18
muted
#837D86

Preview Lab

Preview with #B852FE

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

Preview Lab → · Contrast checker → · Palette generator →

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