#B052F3#B052F3

#B052F3 is a light, highly saturated violet. Relative luminance 0.217; OKLCH L 63.0% C 0.234 H 307.8°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#B052F3
RGBrgb(176, 82, 243)
HSLhsl(275, 87%, 64%)
HSVhsv(275, 66%, 95%)
CMYKcmyk(27.6%, 66.3%, 0%, 4.7%)
CIE-LABlab(53.75, 64.77, -65.35)
CIE-LCHlch(53.75, 92.01, 314.74°)
OKLaboklab(62.97% 0.1435 -0.185)
OKLCHoklch(62.97% 0.234 307.8)
XYZxyz(37.0961, 21.7363, 87.0179)
Luminance0.2174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B052F3 #95F352
analogous
#5F52F3 #B052F3 #F352E5
triadic
#B052F3 #F3B052 #52F3B0
tetradic
#B052F3 #F35F52 #95F352 #52E5F3
square
#B052F3 #F35F52 #95F352 #52E5F3
split-complementary
#B052F3 #E5F352 #52F35F
monochromatic
#740DBD #9619EF #B052F3 #CA8BF7 #E4C4FB

Accessibility & contrast

On white

3.93
#B052F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#B052F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B052F3
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B052F3#FFFFFF#000000##000000
##B052F31.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF8
Deuteranopia (green-blind)
#2E81EF
Tritanopia (blue-blind)
#A5759C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b052f3;
/* rgb */ color: rgb(176, 82, 243);
/* oklch */ color: oklch(63.0% 0.234 307.8);
Tailwind
colors: {
  custom: {
    50: '#cc89f8',
    500: '#b052f3',
    950: '#000000',
  },
}
SCSS
$custom: #b052f3;
$custom-light: #cc89f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b052f3",
  "rgb": {
    "r": 176,
    "g": 82,
    "b": 243
  },
  "hsl": {
    "h": 275.031,
    "s": 87.027,
    "l": 63.725
  },
  "oklch": {
    "l": 0.62965,
    "c": 0.23415,
    "h": 307.8
  },
  "luminance": 0.21736
}

Semantic roles & 50–950 ramp

primary
#B052F3
secondary
#CCEDB4
accent
#E40260
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B052F3

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

Preview Lab → · Contrast checker → · Palette generator →

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