#B052E7#B052E7

#B052E7 is a light, highly saturated violet. Relative luminance 0.210; OKLCH L 62.2% C 0.222 H 310.5°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#B052E7
RGBrgb(176, 82, 231)
HSLhsl(278, 76%, 61%)
HSVhsv(278, 65%, 91%)
CMYKcmyk(23.8%, 64.5%, 0%, 9.4%)
CIE-LABlab(52.99, 62.19, -59.84)
CIE-LCHlch(52.99, 86.31, 316.10°)
OKLaboklab(62.18% 0.1444 -0.1689)
OKLCHoklch(62.18% 0.222 310.5)
XYZxyz(35.3428, 21.0350, 77.7841)
Luminance0.2103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B052E7 #89E752
analogous
#6652E7 #B052E7 #E752D4
triadic
#B052E7 #E7B052 #52E7B0
tetradic
#B052E7 #E76652 #89E752 #52D4E7
square
#B052E7 #E76652 #89E752 #52D4E7
split-complementary
#B052E7 #D4E752 #52E766
monochromatic
#7217A7 #971FDD #B052E7 #C988EE #E1BDF6

Accessibility & contrast

On white

4.03
#B052E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#B052E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B052E7
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B052E7#FFFFFF#000000##000000
##B052E71.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEC
Deuteranopia (green-blind)
#3F80E4
Tritanopia (blue-blind)
#A97096
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b052e7;
/* rgb */ color: rgb(176, 82, 231);
/* oklch */ color: oklch(62.2% 0.222 310.5);
Tailwind
colors: {
  custom: {
    50: '#cc88ef',
    500: '#b052e7',
    950: '#000000',
  },
}
SCSS
$custom: #b052e7;
$custom-light: #cc88ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b052e7",
  "rgb": {
    "r": 176,
    "g": 82,
    "b": 231
  },
  "hsl": {
    "h": 277.852,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.62179,
    "c": 0.22221,
    "h": 310.5
  },
  "luminance": 0.21034
}

Semantic roles & 50–950 ramp

primary
#B052E7
secondary
#C3E6AF
accent
#D80E58
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #B052E7

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

Preview Lab → · Contrast checker → · Palette generator →

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