#B252D0#B252D0

#B252D0 is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.0% C 0.200 H 317.4°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#B252D0
RGBrgb(178, 82, 208)
HSLhsl(286, 57%, 57%)
HSVhsv(286, 61%, 82%)
CMYKcmyk(14.4%, 60.6%, 0%, 18.4%)
CIE-LABlab(51.90, 57.90, -48.53)
CIE-LCHlch(51.90, 75.55, 320.03°)
OKLaboklab(61.01% 0.1474 -0.1357)
OKLCHoklch(61.01% 0.2 317.4)
XYZxyz(32.7609, 20.0549, 61.8076)
Luminance0.2005 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B252D0 #70D052
analogous
#7352D0 #B252D0 #D052AF
triadic
#B252D0 #D0B252 #52D0B2
tetradic
#B252D0 #D07352 #70D052 #52AFD0
square
#B252D0 #D07352 #70D052 #52AFD0
split-complementary
#B252D0 #AFD052 #52D073
monochromatic
#6D2484 #9531B4 #B252D0 #C782DD #DDB2EA

Accessibility & contrast

On white

4.19
#B252D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#B252D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B252D0
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B252D0#FFFFFF#000000##000000
##B252D01.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E76D4
Deuteranopia (green-blind)
#567FCD
Tritanopia (blue-blind)
#B16789
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b252d0;
/* rgb */ color: rgb(178, 82, 208);
/* oklch */ color: oklch(61.0% 0.200 317.4);
Tailwind
colors: {
  custom: {
    50: '#cc88df',
    500: '#b252d0',
    950: '#000000',
  },
}
SCSS
$custom: #b252d0;
$custom-light: #cc88df;
$custom-dark: #000000;
JSON
{
  "hex": "#b252d0",
  "rgb": {
    "r": 178,
    "g": 82,
    "b": 208
  },
  "hsl": {
    "h": 285.714,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61013,
    "c": 0.20032,
    "h": 317.4
  },
  "luminance": 0.20054
}

Semantic roles & 50–950 ramp

primary
#B252D0
secondary
#B1D9A5
accent
#E1476C
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B252D0

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

Preview Lab → · Contrast checker → · Palette generator →

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