#B252AA#B252AA

#B252AA is a mid, vivid purple. Relative luminance 0.184; OKLCH L 59.0% C 0.165 H 330.7°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#B252AA
RGBrgb(178, 82, 170)
HSLhsl(305, 38%, 51%)
HSVhsv(305, 54%, 70%)
CMYKcmyk(0%, 53.9%, 4.5%, 30.2%)
CIE-LABlab(49.98, 50.77, -29.56)
CIE-LCHlch(49.98, 58.75, 329.80°)
OKLaboklab(58.99% 0.144 -0.0808)
OKLCHoklch(58.99% 0.165 330.7)
XYZxyz(28.6329, 18.4037, 40.0666)
Luminance0.1840 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B252AA #52B25A
analogous
#8A52B2 #B252AA #B2527A
triadic
#B252AA #AAB252 #52AAB2
tetradic
#B252AA #B28A52 #52B25A #527AB2
square
#B252AA #B28A52 #52B25A #527AB2
split-complementary
#B252AA #7AB252 #52B28A
monochromatic
#5F2A5B #8A3D83 #B252AA #C57CBF #D8A7D4

Accessibility & contrast

On white

4.49
#B252AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#B252AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B252AA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B252AA#FFFFFF#000000##000000
##B252AA1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D6EAD
Deuteranopia (green-blind)
#6A7CA7
Tritanopia (blue-blind)
#B85A76
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b252aa;
/* rgb */ color: rgb(178, 82, 170);
/* oklch */ color: oklch(59.0% 0.165 330.7);
Tailwind
colors: {
  custom: {
    50: '#cb87c3',
    500: '#b252aa',
    950: '#000000',
  },
}
SCSS
$custom: #b252aa;
$custom-light: #cb87c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b252aa",
  "rgb": {
    "r": 178,
    "g": 82,
    "b": 170
  },
  "hsl": {
    "h": 305,
    "s": 38.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58987,
    "c": 0.16512,
    "h": 330.7
  },
  "luminance": 0.18402
}

Semantic roles & 50–950 ramp

primary
#B252AA
secondary
#9BC59E
accent
#CE6359
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C12
muted
#827D81

Preview Lab

Preview with #B252AA

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

Preview Lab → · Contrast checker → · Palette generator →

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