#B052EA#B052EA

#B052EA is a light, highly saturated violet. Relative luminance 0.212; OKLCH L 62.4% C 0.225 H 309.8°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#B052EA
RGBrgb(176, 82, 234)
HSLhsl(277, 78%, 62%)
HSVhsv(277, 65%, 92%)
CMYKcmyk(24.8%, 65%, 0%, 8.2%)
CIE-LABlab(53.17, 62.83, -61.23)
CIE-LCHlch(53.17, 87.73, 315.74°)
OKLaboklab(62.37% 0.1442 -0.1729)
OKLCHoklch(62.37% 0.225 309.8)
XYZxyz(35.7702, 21.2059, 80.0348)
Luminance0.2120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B052EA #8CEA52
analogous
#6452EA #B052EA #EA52D8
triadic
#B052EA #EAB052 #52EAB0
tetradic
#B052EA #EA6452 #8CEA52 #52D8EA
square
#B052EA #EA6452 #8CEA52 #52D8EA
split-complementary
#B052EA #D8EA52 #52EA64
monochromatic
#7315AD #971CE3 #B052EA #C989F1 #E2BFF7

Accessibility & contrast

On white

4.01
#B052EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#B052EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B052EA
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B052EA#FFFFFF#000000##000000
##B052EA1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b052ea;
/* rgb */ color: rgb(176, 82, 234);
/* oklch */ color: oklch(62.4% 0.225 309.8);
Tailwind
colors: {
  custom: {
    50: '#cc88f1',
    500: '#b052ea',
    950: '#000000',
  },
}
SCSS
$custom: #b052ea;
$custom-light: #cc88f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b052ea",
  "rgb": {
    "r": 176,
    "g": 82,
    "b": 234
  },
  "hsl": {
    "h": 277.105,
    "s": 78.351,
    "l": 61.961
  },
  "oklch": {
    "l": 0.62372,
    "c": 0.22519,
    "h": 309.8
  },
  "luminance": 0.21205
}

Semantic roles & 50–950 ramp

primary
#B052EA
secondary
#C5E8B0
accent
#DB0B5A
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B052EA

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

Preview Lab → · Contrast checker → · Palette generator →

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