#B052FD#B052FD

#B052FD is a light, highly saturated violet. Relative luminance 0.224; OKLCH L 63.6% C 0.244 H 305.7°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#B052FD
RGBrgb(176, 82, 253)
HSLhsl(273, 98%, 66%)
HSVhsv(273, 68%, 99%)
CMYKcmyk(30.4%, 67.6%, 0%, 0.8%)
CIE-LABlab(54.40, 66.96, -69.85)
CIE-LCHlch(54.40, 96.76, 313.79°)
OKLaboklab(63.64% 0.1424 -0.1983)
OKLCHoklch(63.64% 0.244 305.7)
XYZxyz(38.6475, 22.3568, 95.1888)
Luminance0.2236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B052FD #9FFD52
analogous
#5A52FD #B052FD #FD52F5
triadic
#B052FD #FDB052 #52FDB0
tetradic
#B052FD #FD5A52 #9FFD52 #52F5FD
square
#B052FD #FD5A52 #9FFD52 #52F5FD
split-complementary
#B052FD #F5FD52 #52FD5A
monochromatic
#7502D2 #9415FC #B052FD #CC8EFE #E7CBFE

Accessibility & contrast

On white

3.84
#B052FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#B052FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B052FD
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B052FD#FFFFFF#000000##000000
##B052FD1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#1682F9
Tritanopia (blue-blind)
#A278A2
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b052fd;
/* rgb */ color: rgb(176, 82, 253);
/* oklch */ color: oklch(63.6% 0.244 305.7);
Tailwind
colors: {
  custom: {
    50: '#cd89ff',
    500: '#b052fd',
    950: '#000000',
  },
}
SCSS
$custom: #b052fd;
$custom-light: #cd89ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b052fd",
  "rgb": {
    "r": 176,
    "g": 82,
    "b": 253
  },
  "hsl": {
    "h": 272.982,
    "s": 97.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.63644,
    "c": 0.24411,
    "h": 305.7
  },
  "luminance": 0.22357
}

Semantic roles & 50–950 ramp

primary
#B052FD
secondary
#D3F2B9
accent
#E60067
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C18
muted
#837D86

Preview Lab

Preview with #B052FD

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

Preview Lab → · Contrast checker → · Palette generator →

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