#B052F1#B052F1

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

Color values

HEX#B052F1
RGBrgb(176, 82, 241)
HSLhsl(275, 85%, 63%)
HSVhsv(275, 66%, 95%)
CMYKcmyk(27%, 66%, 0%, 5.5%)
CIE-LABlab(53.62, 64.33, -64.44)
CIE-LCHlch(53.62, 91.06, 314.95°)
OKLaboklab(62.83% 0.1437 -0.1824)
OKLCHoklch(62.83% 0.232 308.2)
XYZxyz(36.7957, 21.6161, 85.4360)
Luminance0.2162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B052F1 #93F152
analogous
#6052F1 #B052F1 #F152E2
triadic
#B052F1 #F1B052 #52F1B0
tetradic
#B052F1 #F16052 #93F152 #52E2F1
square
#B052F1 #F16052 #93F152 #52E2F1
split-complementary
#B052F1 #E2F152 #52F160
monochromatic
#740FBA #9619EC #B052F1 #CA8BF6 #E4C3FA

Accessibility & contrast

On white

3.94
#B052F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#B052F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B052F1
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B052F1#FFFFFF#000000##000000
##B052F11.003.945.325.32
#FFFFFF3.941.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF6
Deuteranopia (green-blind)
#3281ED
Tritanopia (blue-blind)
#A6749B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b052f1;
/* rgb */ color: rgb(176, 82, 241);
/* oklch */ color: oklch(62.8% 0.232 308.2);
Tailwind
colors: {
  custom: {
    50: '#cc89f6',
    500: '#b052f1',
    950: '#000000',
  },
}
SCSS
$custom: #b052f1;
$custom-light: #cc89f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b052f1",
  "rgb": {
    "r": 176,
    "g": 82,
    "b": 241
  },
  "hsl": {
    "h": 275.472,
    "s": 85.027,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62832,
    "c": 0.23216,
    "h": 308.2
  },
  "luminance": 0.21616
}

Semantic roles & 50–950 ramp

primary
#B052F1
secondary
#CAECB3
accent
#E2045F
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B052F1

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

Preview Lab → · Contrast checker → · Palette generator →

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