#B052E0#B052E0

#B052E0 is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.7% C 0.215 H 312.3°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#B052E0
RGBrgb(176, 82, 224)
HSLhsl(280, 70%, 60%)
HSVhsv(280, 63%, 88%)
CMYKcmyk(21.4%, 63.4%, 0%, 12.2%)
CIE-LABlab(52.56, 60.71, -56.58)
CIE-LCHlch(52.56, 82.99, 317.02°)
OKLaboklab(61.73% 0.1448 -0.1593)
OKLCHoklch(61.73% 0.215 312.3)
XYZxyz(34.3739, 20.6474, 72.6812)
Luminance0.2065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B052E0 #82E052
analogous
#6952E0 #B052E0 #E052C9
triadic
#B052E0 #E0B052 #52E0B0
tetradic
#B052E0 #E06952 #82E052 #52C9E0
square
#B052E0 #E06952 #82E052 #52C9E0
split-complementary
#B052E0 #C9E052 #52E069
monochromatic
#701C9C #9625D0 #B052E0 #C886E9 #DFBAF3

Accessibility & contrast

On white

4.09
#B052E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#B052E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B052E0
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B052E0#FFFFFF#000000##000000
##B052E01.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0779E4
Deuteranopia (green-blind)
#477FDD
Tritanopia (blue-blind)
#AB6E92
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b052e0;
/* rgb */ color: rgb(176, 82, 224);
/* oklch */ color: oklch(61.7% 0.215 312.3);
Tailwind
colors: {
  custom: {
    50: '#cb88ea',
    500: '#b052e0',
    950: '#000000',
  },
}
SCSS
$custom: #b052e0;
$custom-light: #cb88ea;
$custom-dark: #000000;
JSON
{
  "hex": "#b052e0",
  "rgb": {
    "r": 176,
    "g": 82,
    "b": 224
  },
  "hsl": {
    "h": 279.718,
    "s": 69.608,
    "l": 60
  },
  "oklch": {
    "l": 0.61735,
    "c": 0.21526,
    "h": 312.3
  },
  "luminance": 0.20647
}

Semantic roles & 50–950 ramp

primary
#B052E0
secondary
#BEE2AC
accent
#EC3B77
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B052E0

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

Preview Lab → · Contrast checker → · Palette generator →

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