#B052F7#B052F7

#B052F7 is a light, highly saturated violet. Relative luminance 0.220; OKLCH L 63.2% C 0.238 H 306.9°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#B052F7
RGBrgb(176, 82, 247)
HSLhsl(274, 91%, 65%)
HSVhsv(274, 67%, 97%)
CMYKcmyk(28.7%, 66.8%, 0%, 3.1%)
CIE-LABlab(54.01, 65.64, -67.16)
CIE-LCHlch(54.01, 93.91, 314.35°)
OKLaboklab(63.23% 0.1431 -0.1903)
OKLCHoklch(63.23% 0.238 306.9)
XYZxyz(37.7067, 21.9805, 90.2339)
Luminance0.2198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B052F7 #99F752
analogous
#5E52F7 #B052F7 #F752EB
triadic
#B052F7 #F7B052 #52F7B0
tetradic
#B052F7 #F75E52 #99F752 #52EBF7
square
#B052F7 #F75E52 #99F752 #52EBF7
split-complementary
#B052F7 #EBF752 #52F75E
monochromatic
#7409C5 #9518F4 #B052F7 #CB8CFA #E5C7FC

Accessibility & contrast

On white

3.89
#B052F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#B052F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B052F7
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B052F7#FFFFFF#000000##000000
##B052F71.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFC
Deuteranopia (green-blind)
#2782F3
Tritanopia (blue-blind)
#A4769E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b052f7;
/* rgb */ color: rgb(176, 82, 247);
/* oklch */ color: oklch(63.2% 0.238 306.9);
Tailwind
colors: {
  custom: {
    50: '#cd89fb',
    500: '#b052f7',
    950: '#000000',
  },
}
SCSS
$custom: #b052f7;
$custom-light: #cd89fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b052f7",
  "rgb": {
    "r": 176,
    "g": 82,
    "b": 247
  },
  "hsl": {
    "h": 274.182,
    "s": 91.16,
    "l": 64.51
  },
  "oklch": {
    "l": 0.63234,
    "c": 0.23814,
    "h": 306.9
  },
  "luminance": 0.2198
}

Semantic roles & 50–950 ramp

primary
#B052F7
secondary
#CEEFB6
accent
#E60063
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B052F7

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

Preview Lab → · Contrast checker → · Palette generator →

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