#B052E9#B052E9

#B052E9 is a light, highly saturated violet. Relative luminance 0.211; OKLCH L 62.3% C 0.224 H 310.1°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#B052E9
RGBrgb(176, 82, 233)
HSLhsl(277, 77%, 62%)
HSVhsv(277, 65%, 91%)
CMYKcmyk(24.5%, 64.8%, 0%, 8.6%)
CIE-LABlab(53.11, 62.61, -60.77)
CIE-LCHlch(53.11, 87.26, 315.86°)
OKLaboklab(62.31% 0.1443 -0.1716)
OKLCHoklch(62.31% 0.224 310.1)
XYZxyz(35.6269, 21.1486, 79.2803)
Luminance0.2115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B052E9 #8BE952
analogous
#6552E9 #B052E9 #E952D7
triadic
#B052E9 #E9B052 #52E9B0
tetradic
#B052E9 #E96552 #8BE952 #52D7E9
square
#B052E9 #E96552 #8BE952 #52D7E9
split-complementary
#B052E9 #D7E952 #52E965
monochromatic
#7316AB #971DE1 #B052E9 #C988F0 #E2BFF7

Accessibility & contrast

On white

4.02
#B052E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#B052E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B052E9
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B052E9#FFFFFF#000000##000000
##B052E91.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEE
Deuteranopia (green-blind)
#3D80E6
Tritanopia (blue-blind)
#A87197
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b052e9;
/* rgb */ color: rgb(176, 82, 233);
/* oklch */ color: oklch(62.3% 0.224 310.1);
Tailwind
colors: {
  custom: {
    50: '#cc88f1',
    500: '#b052e9',
    950: '#000000',
  },
}
SCSS
$custom: #b052e9;
$custom-light: #cc88f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b052e9",
  "rgb": {
    "r": 176,
    "g": 82,
    "b": 233
  },
  "hsl": {
    "h": 277.351,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.62307,
    "c": 0.2242,
    "h": 310.1
  },
  "luminance": 0.21148
}

Semantic roles & 50–950 ramp

primary
#B052E9
secondary
#C5E7AF
accent
#DA0C5A
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B052E9

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

Preview Lab → · Contrast checker → · Palette generator →

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