#B052F0#B052F0

#B052F0 is a light, highly saturated violet. Relative luminance 0.216; OKLCH L 62.8% C 0.231 H 308.5°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#B052F0
RGBrgb(176, 82, 240)
HSLhsl(276, 84%, 63%)
HSVhsv(276, 66%, 94%)
CMYKcmyk(26.7%, 65.8%, 0%, 5.9%)
CIE-LABlab(53.55, 64.12, -63.98)
CIE-LCHlch(53.55, 90.58, 315.06°)
OKLaboklab(62.77% 0.1438 -0.181)
OKLCHoklch(62.77% 0.231 308.5)
XYZxyz(36.6468, 21.5565, 84.6515)
Luminance0.2156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B052F0 #92F052
analogous
#6152F0 #B052F0 #F052E1
triadic
#B052F0 #F0B052 #52F0B0
tetradic
#B052F0 #F06152 #92F052 #52E1F0
square
#B052F0 #F06152 #92F052 #52E1F0
split-complementary
#B052F0 #E1F052 #52F061
monochromatic
#7410B8 #961AEB #B052F0 #CA8AF5 #E3C3FA

Accessibility & contrast

On white

3.95
#B052F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#B052F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B052F0
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B052F0#FFFFFF#000000##000000
##B052F01.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF5
Deuteranopia (green-blind)
#3381EC
Tritanopia (blue-blind)
#A6749A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b052f0;
/* rgb */ color: rgb(176, 82, 240);
/* oklch */ color: oklch(62.8% 0.231 308.5);
Tailwind
colors: {
  custom: {
    50: '#cc89f6',
    500: '#b052f0',
    950: '#000000',
  },
}
SCSS
$custom: #b052f0;
$custom-light: #cc89f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b052f0",
  "rgb": {
    "r": 176,
    "g": 82,
    "b": 240
  },
  "hsl": {
    "h": 275.696,
    "s": 84.043,
    "l": 63.137
  },
  "oklch": {
    "l": 0.62766,
    "c": 0.23117,
    "h": 308.5
  },
  "luminance": 0.21556
}

Semantic roles & 50–950 ramp

primary
#B052F0
secondary
#CAEBB3
accent
#E0055E
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B052F0

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

Preview Lab → · Contrast checker → · Palette generator →

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