#B052E4#B052E4

#B052E4 is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 62.0% C 0.219 H 311.3°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#B052E4
RGBrgb(176, 82, 228)
HSLhsl(279, 73%, 61%)
HSVhsv(279, 64%, 89%)
CMYKcmyk(22.8%, 64%, 0%, 10.6%)
CIE-LABlab(52.80, 61.55, -58.45)
CIE-LCHlch(52.80, 84.88, 316.48°)
OKLaboklab(61.99% 0.1446 -0.1648)
OKLCHoklch(61.99% 0.219 311.3)
XYZxyz(34.9228, 20.8670, 75.5718)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B052E4 #86E452
analogous
#6752E4 #B052E4 #E452CF
triadic
#B052E4 #E4B052 #52E4B0
tetradic
#B052E4 #E46752 #86E452 #52CFE4
square
#B052E4 #E46752 #86E452 #52CFE4
split-complementary
#B052E4 #CFE452 #52E467
monochromatic
#7119A2 #9722D7 #B052E4 #C887EC #E0BCF5

Accessibility & contrast

On white

4.06
#B052E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#B052E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B052E4
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B052E4#FFFFFF#000000##000000
##B052E41.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AE8
Deuteranopia (green-blind)
#4280E1
Tritanopia (blue-blind)
#AA6F94
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b052e4;
/* rgb */ color: rgb(176, 82, 228);
/* oklch */ color: oklch(62.0% 0.219 311.3);
Tailwind
colors: {
  custom: {
    50: '#cb88ed',
    500: '#b052e4',
    950: '#000000',
  },
}
SCSS
$custom: #b052e4;
$custom-light: #cb88ed;
$custom-dark: #000000;
JSON
{
  "hex": "#b052e4",
  "rgb": {
    "r": 176,
    "g": 82,
    "b": 228
  },
  "hsl": {
    "h": 278.63,
    "s": 73,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61987,
    "c": 0.21922,
    "h": 311.3
  },
  "luminance": 0.20866
}

Semantic roles & 50–950 ramp

primary
#B052E4
secondary
#C1E5AD
accent
#D51056
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B052E4

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

Preview Lab → · Contrast checker → · Palette generator →

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