#B052E8#B052E8

#B052E8 is a light, highly saturated violet. Relative luminance 0.211; OKLCH L 62.2% C 0.223 H 310.3°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#B052E8
RGBrgb(176, 82, 232)
HSLhsl(278, 77%, 62%)
HSVhsv(278, 65%, 91%)
CMYKcmyk(24.1%, 64.7%, 0%, 9%)
CIE-LABlab(53.05, 62.40, -60.31)
CIE-LCHlch(53.05, 86.78, 315.98°)
OKLaboklab(62.24% 0.1444 -0.1702)
OKLCHoklch(62.24% 0.223 310.3)
XYZxyz(35.4845, 21.0916, 78.5301)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B052E8 #8AE852
analogous
#6552E8 #B052E8 #E852D5
triadic
#B052E8 #E8B052 #52E8B0
tetradic
#B052E8 #E86552 #8AE852 #52D5E8
square
#B052E8 #E86552 #8AE852 #52D5E8
split-complementary
#B052E8 #D5E852 #52E865
monochromatic
#7216A9 #971EDF #B052E8 #C988EF #E1BEF6

Accessibility & contrast

On white

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

On black

5.22
#B052E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B052E8
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B052E8#FFFFFF#000000##000000
##B052E81.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AED
Deuteranopia (green-blind)
#3E80E5
Tritanopia (blue-blind)
#A97196
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b052e8;
/* rgb */ color: rgb(176, 82, 232);
/* oklch */ color: oklch(62.2% 0.223 310.3);
Tailwind
colors: {
  custom: {
    50: '#cc88f0',
    500: '#b052e8',
    950: '#000000',
  },
}
SCSS
$custom: #b052e8;
$custom-light: #cc88f0;
$custom-dark: #000000;
JSON
{
  "hex": "#b052e8",
  "rgb": {
    "r": 176,
    "g": 82,
    "b": 232
  },
  "hsl": {
    "h": 277.6,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.62243,
    "c": 0.2232,
    "h": 310.3
  },
  "luminance": 0.21091
}

Semantic roles & 50–950 ramp

primary
#B052E8
secondary
#C4E7AF
accent
#D90D59
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #B052E8

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

Preview Lab → · Contrast checker → · Palette generator →

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