#B052FF#B052FF

#B052FF is a light, highly saturated violet. Relative luminance 0.225; OKLCH L 63.8% C 0.246 H 305.3°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#B052FF
RGBrgb(176, 82, 255)
HSLhsl(273, 100%, 66%)
HSVhsv(273, 68%, 100%)
CMYKcmyk(31%, 67.8%, 0%, 0%)
CIE-LABlab(54.54, 67.40, -70.74)
CIE-LCHlch(54.54, 97.71, 313.61°)
OKLaboklab(63.78% 0.1422 -0.2009)
OKLCHoklch(63.78% 0.246 305.3)
XYZxyz(38.9678, 22.4850, 96.8755)
Luminance0.2248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B052FF #A1FF52
analogous
#5952FF #B052FF #FF52F8
triadic
#B052FF #FFB052 #52FFB0
tetradic
#B052FF #FF5952 #A1FF52 #52F8FF
square
#B052FF #FF5952 #A1FF52 #52F8FF
split-complementary
#B052FF #F8FF52 #52FF59
monochromatic
#7500D7 #9415FF #B052FF #CC8FFF #E8CCFF

Accessibility & contrast

On white

3.82
#B052FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#B052FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B052FF
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B052FF#FFFFFF#000000##000000
##B052FF1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#0D83FB
Tritanopia (blue-blind)
#A279A3
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b052ff;
/* rgb */ color: rgb(176, 82, 255);
/* oklch */ color: oklch(63.8% 0.246 305.3);
Tailwind
colors: {
  custom: {
    50: '#cd89ff',
    500: '#b052ff',
    950: '#000000',
  },
}
SCSS
$custom: #b052ff;
$custom-light: #cd89ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b052ff",
  "rgb": {
    "r": 176,
    "g": 82,
    "b": 255
  },
  "hsl": {
    "h": 272.601,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.63783,
    "c": 0.24611,
    "h": 305.3
  },
  "luminance": 0.22485
}

Semantic roles & 50–950 ramp

primary
#B052FF
secondary
#D4F3BA
accent
#E60069
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C18
muted
#837D86

Preview Lab

Preview with #B052FF

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

Preview Lab → · Contrast checker → · Palette generator →

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