#B052D8#B052D8

#B052D8 is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.2% C 0.207 H 314.4°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#B052D8
RGBrgb(176, 82, 216)
HSLhsl(282, 63%, 58%)
HSVhsv(282, 62%, 85%)
CMYKcmyk(18.5%, 62%, 0%, 15.3%)
CIE-LABlab(52.09, 59.05, -52.80)
CIE-LCHlch(52.09, 79.21, 318.20°)
OKLaboklab(61.24% 0.145 -0.1482)
OKLCHoklch(61.24% 0.207 314.4)
XYZxyz(33.3144, 20.2236, 67.1011)
Luminance0.2022 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B052D8 #7AD852
analogous
#6D52D8 #B052D8 #D852BD
triadic
#B052D8 #D8B052 #52D8B0
tetradic
#B052D8 #D86D52 #7AD852 #52BDD8
square
#B052D8 #D86D52 #7AD852 #52BDD8
split-complementary
#B052D8 #BDD852 #52D86D
monochromatic
#6E208F #952CC1 #B052D8 #C784E3 #DEB6EF

Accessibility & contrast

On white

4.16
#B052D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#B052D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B052D8
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B052D8#FFFFFF#000000##000000
##B052D81.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2077DC
Deuteranopia (green-blind)
#4E7FD5
Tritanopia (blue-blind)
#AD6B8E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b052d8;
/* rgb */ color: rgb(176, 82, 216);
/* oklch */ color: oklch(61.2% 0.207 314.4);
Tailwind
colors: {
  custom: {
    50: '#cb88e5',
    500: '#b052d8',
    950: '#000000',
  },
}
SCSS
$custom: #b052d8;
$custom-light: #cb88e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b052d8",
  "rgb": {
    "r": 176,
    "g": 82,
    "b": 216
  },
  "hsl": {
    "h": 282.09,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.61241,
    "c": 0.20734,
    "h": 314.4
  },
  "luminance": 0.20223
}

Semantic roles & 50–950 ramp

primary
#B052D8
secondary
#B8DDA8
accent
#E64273
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B052D8

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

Preview Lab → · Contrast checker → · Palette generator →

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