#B052EB#B052EB

#B052EB is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.4% C 0.226 H 309.6°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#B052EB
RGBrgb(176, 82, 235)
HSLhsl(277, 79%, 62%)
HSVhsv(277, 65%, 92%)
CMYKcmyk(25.1%, 65.1%, 0%, 7.8%)
CIE-LABlab(53.24, 63.04, -61.69)
CIE-LCHlch(53.24, 88.21, 315.62°)
OKLaboklab(62.44% 0.1442 -0.1743)
OKLCHoklch(62.44% 0.226 309.6)
XYZxyz(35.9142, 21.2635, 80.7935)
Luminance0.2126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B052EB #8DEB52
analogous
#6452EB #B052EB #EB52D9
triadic
#B052EB #EBB052 #52EBB0
tetradic
#B052EB #EB6452 #8DEB52 #52D9EB
square
#B052EB #EB6452 #8DEB52 #52D9EB
split-complementary
#B052EB #D9EB52 #52EB64
monochromatic
#7314AE #971BE5 #B052EB #C989F1 #E2C0F8

Accessibility & contrast

On white

4.00
#B052EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#B052EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B052EB
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B052EB#FFFFFF#000000##000000
##B052EB1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF0
Deuteranopia (green-blind)
#3A81E8
Tritanopia (blue-blind)
#A87298
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b052eb;
/* rgb */ color: rgb(176, 82, 235);
/* oklch */ color: oklch(62.4% 0.226 309.6);
Tailwind
colors: {
  custom: {
    50: '#cc89f2',
    500: '#b052eb',
    950: '#000000',
  },
}
SCSS
$custom: #b052eb;
$custom-light: #cc89f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b052eb",
  "rgb": {
    "r": 176,
    "g": 82,
    "b": 235
  },
  "hsl": {
    "h": 276.863,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.62437,
    "c": 0.22618,
    "h": 309.6
  },
  "luminance": 0.21263
}

Semantic roles & 50–950 ramp

primary
#B052EB
secondary
#C6E8B0
accent
#DC0A5B
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B052EB

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

Preview Lab → · Contrast checker → · Palette generator →

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