#B852EF#B852EF

#B852EF is a light, highly saturated violet. Relative luminance 0.225; OKLCH L 63.6% C 0.233 H 311.4°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#B852EF
RGBrgb(184, 82, 239)
HSLhsl(279, 83%, 63%)
HSVhsv(279, 66%, 94%)
CMYKcmyk(23%, 65.7%, 0%, 6.3%)
CIE-LABlab(54.51, 65.59, -61.83)
CIE-LCHlch(54.51, 90.14, 316.69°)
OKLaboklab(63.65% 0.1538 -0.1745)
OKLCHoklch(63.65% 0.233 311.4)
XYZxyz(38.3616, 22.4579, 83.9586)
Luminance0.2246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B852EF #89EF52
analogous
#6952EF #B852EF #EF52D7
triadic
#B852EF #EFB852 #52EFB8
tetradic
#B852EF #EF6952 #89EF52 #52D7EF
square
#B852EF #EF6952 #89EF52 #52D7EF
split-complementary
#B852EF #D7EF52 #52EF69
monochromatic
#7C11B6 #A11AEA #B852EF #CF8AF4 #E6C2F9

Accessibility & contrast

On white

3.82
#B852EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#B852EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B852EF
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B852EF#FFFFFF#000000##000000
##B852EF1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF4
Deuteranopia (green-blind)
#4084EB
Tritanopia (blue-blind)
#B1729A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b852ef;
/* rgb */ color: rgb(184, 82, 239);
/* oklch */ color: oklch(63.6% 0.233 311.4);
Tailwind
colors: {
  custom: {
    50: '#d189f5',
    500: '#b852ef',
    950: '#000000',
  },
}
SCSS
$custom: #b852ef;
$custom-light: #d189f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b852ef",
  "rgb": {
    "r": 184,
    "g": 82,
    "b": 239
  },
  "hsl": {
    "h": 278.981,
    "s": 83.069,
    "l": 62.941
  },
  "oklch": {
    "l": 0.63649,
    "c": 0.23259,
    "h": 311.4
  },
  "luminance": 0.22457
}

Semantic roles & 50–950 ramp

primary
#B852EF
secondary
#C6EBB2
accent
#DF0652
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#150C17
muted
#837D85

Preview Lab

Preview with #B852EF

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

Preview Lab → · Contrast checker → · Palette generator →

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