#B052E6#B052E6

#B052E6 is a light, highly saturated violet. Relative luminance 0.210; OKLCH L 62.1% C 0.221 H 310.8°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#B052E6
RGBrgb(176, 82, 230)
HSLhsl(278, 75%, 61%)
HSVhsv(278, 64%, 90%)
CMYKcmyk(23.5%, 64.3%, 0%, 9.8%)
CIE-LABlab(52.93, 61.98, -59.38)
CIE-LCHlch(52.93, 85.83, 316.22°)
OKLaboklab(62.11% 0.1445 -0.1675)
OKLCHoklch(62.11% 0.221 310.8)
XYZxyz(35.2020, 20.9786, 77.0425)
Luminance0.2098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B052E6 #88E652
analogous
#6652E6 #B052E6 #E652D2
triadic
#B052E6 #E6B052 #52E6B0
tetradic
#B052E6 #E66652 #88E652 #52D2E6
square
#B052E6 #E66652 #88E652 #52D2E6
split-complementary
#B052E6 #D2E652 #52E666
monochromatic
#7218A6 #9720DB #B052E6 #C887EE #E1BDF5

Accessibility & contrast

On white

4.04
#B052E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#B052E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B052E6
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B052E6#FFFFFF#000000##000000
##B052E61.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEA
Deuteranopia (green-blind)
#4080E3
Tritanopia (blue-blind)
#A97095
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b052e6;
/* rgb */ color: rgb(176, 82, 230);
/* oklch */ color: oklch(62.1% 0.221 310.8);
Tailwind
colors: {
  custom: {
    50: '#cc88ef',
    500: '#b052e6',
    950: '#000000',
  },
}
SCSS
$custom: #b052e6;
$custom-light: #cc88ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b052e6",
  "rgb": {
    "r": 176,
    "g": 82,
    "b": 230
  },
  "hsl": {
    "h": 278.108,
    "s": 74.747,
    "l": 61.176
  },
  "oklch": {
    "l": 0.62114,
    "c": 0.22121,
    "h": 310.8
  },
  "luminance": 0.20978
}

Semantic roles & 50–950 ramp

primary
#B052E6
secondary
#C2E6AE
accent
#D70F58
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B052E6

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

Preview Lab → · Contrast checker → · Palette generator →

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