#B052D7#B052D7

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

Color values

HEX#B052D7
RGBrgb(176, 82, 215)
HSLhsl(282, 62%, 58%)
HSVhsv(282, 62%, 84%)
CMYKcmyk(18.1%, 61.9%, 0%, 15.7%)
CIE-LABlab(52.03, 58.84, -52.33)
CIE-LCHlch(52.03, 78.74, 318.35°)
OKLaboklab(61.18% 0.145 -0.1468)
OKLCHoklch(61.18% 0.206 314.6)
XYZxyz(33.1855, 20.1721, 66.4223)
Luminance0.2017 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B052D7 #79D752
analogous
#6D52D7 #B052D7 #D752BB
triadic
#B052D7 #D7B052 #52D7B0
tetradic
#B052D7 #D76D52 #79D752 #52BBD7
square
#B052D7 #D76D52 #79D752 #52BBD7
split-complementary
#B052D7 #BBD752 #52D76D
monochromatic
#6E218E #942CC0 #B052D7 #C784E2 #DDB5EE

Accessibility & contrast

On white

4.17
#B052D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#B052D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B052D7
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B052D7#FFFFFF#000000##000000
##B052D71.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2277DB
Deuteranopia (green-blind)
#4E7FD4
Tritanopia (blue-blind)
#AD6A8D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b052d7;
/* rgb */ color: rgb(176, 82, 215);
/* oklch */ color: oklch(61.2% 0.206 314.6);
Tailwind
colors: {
  custom: {
    50: '#cb88e4',
    500: '#b052d7',
    950: '#000000',
  },
}
SCSS
$custom: #b052d7;
$custom-light: #cb88e4;
$custom-dark: #000000;
JSON
{
  "hex": "#b052d7",
  "rgb": {
    "r": 176,
    "g": 82,
    "b": 215
  },
  "hsl": {
    "h": 282.406,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.61181,
    "c": 0.20635,
    "h": 314.6
  },
  "luminance": 0.20171
}

Semantic roles & 50–950 ramp

primary
#B052D7
secondary
#B7DDA8
accent
#E64272
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B052D7

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

Preview Lab → · Contrast checker → · Palette generator →

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