#B82DAF#B82DAF

#B82DAF is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.3% C 0.221 H 331.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#B82DAF
RGBrgb(184, 45, 175)
HSLhsl(304, 61%, 45%)
HSVhsv(304, 76%, 72%)
CMYKcmyk(0%, 75.5%, 4.9%, 27.8%)
CIE-LABlab(45.86, 67.81, -38.91)
CIE-LCHlch(45.86, 78.18, 330.15°)
OKLaboklab(56.26% 0.1932 -0.1073)
OKLCHoklch(56.26% 0.221 331)
XYZxyz(28.4434, 15.1646, 41.9781)
Luminance0.1516 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B82DAF #2DB836
analogous
#7C2DB8 #B82DAF #B82D69
triadic
#B82DAF #AFB82D #2DAFB8
tetradic
#B82DAF #B87C2D #2DB836 #2D69B8
square
#B82DAF #B87C2D #2DB836 #2D69B8
split-complementary
#B82DAF #69B82D #2DB87C
monochromatic
#561551 #872180 #B82DAF #D44ECB #E080DA

Accessibility & contrast

On white

5.21
#B82DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#B82DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B82DAF
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B82DAF#FFFFFF#000000##FFFFFF
##B82DAF1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E60B2
Deuteranopia (green-blind)
#5973AC
Tritanopia (blue-blind)
#BF3F6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b82daf;
/* rgb */ color: rgb(184, 45, 175);
/* oklch */ color: oklch(56.3% 0.221 331.0);
Tailwind
colors: {
  custom: {
    50: '#d175c7',
    500: '#b82daf',
    950: '#000000',
  },
}
SCSS
$custom: #b82daf;
$custom-light: #d175c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b82daf",
  "rgb": {
    "r": 184,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 303.885,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.56255,
    "c": 0.22101,
    "h": 331
  },
  "luminance": 0.15162
}

Semantic roles & 50–950 ramp

primary
#B82DAF
secondary
#78C97D
accent
#E44E44
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #B82DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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