#B252DA#B252DA

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

Color values

HEX#B252DA
RGBrgb(178, 82, 218)
HSLhsl(282, 65%, 59%)
HSVhsv(282, 62%, 85%)
CMYKcmyk(18.3%, 62.4%, 0%, 14.5%)
CIE-LABlab(52.47, 59.92, -53.32)
CIE-LCHlch(52.47, 80.21, 318.34°)
OKLaboklab(61.61% 0.1474 -0.1497)
OKLCHoklch(61.61% 0.21 314.6)
XYZxyz(34.0302, 20.5626, 68.4924)
Luminance0.2056 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B252DA #7ADA52
analogous
#6E52DA #B252DA #DA52BE
triadic
#B252DA #DAB252 #52DAB2
tetradic
#B252DA #DA6E52 #7ADA52 #52BEDA
square
#B252DA #DA6E52 #7ADA52 #52BEDA
split-complementary
#B252DA #BEDA52 #52DA6E
monochromatic
#701F92 #972AC5 #B252DA #C884E5 #DFB7F0

Accessibility & contrast

On white

4.11
#B252DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#B252DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B252DA
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B252DA#FFFFFF#000000##000000
##B252DA1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E78DE
Deuteranopia (green-blind)
#4E80D7
Tritanopia (blue-blind)
#AF6B8F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b252da;
/* rgb */ color: rgb(178, 82, 218);
/* oklch */ color: oklch(61.6% 0.210 314.6);
Tailwind
colors: {
  custom: {
    50: '#cc88e6',
    500: '#b252da',
    950: '#000000',
  },
}
SCSS
$custom: #b252da;
$custom-light: #cc88e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b252da",
  "rgb": {
    "r": 178,
    "g": 82,
    "b": 218
  },
  "hsl": {
    "h": 282.353,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.61608,
    "c": 0.21007,
    "h": 314.6
  },
  "luminance": 0.20562
}

Semantic roles & 50–950 ramp

primary
#B252DA
secondary
#B9DFA9
accent
#E84071
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B252DA

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

Preview Lab → · Contrast checker → · Palette generator →

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