#B02DC9#B02DC9

#B02DC9 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.6% C 0.237 H 320.5°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#B02DC9
RGBrgb(176, 45, 201)
HSLhsl(290, 63%, 48%)
HSVhsv(290, 78%, 79%)
CMYKcmyk(12.4%, 77.6%, 0%, 21.2%)
CIE-LABlab(46.08, 70.51, -53.84)
CIE-LCHlch(46.08, 88.72, 322.64°)
OKLaboklab(56.65% 0.1832 -0.151)
OKLCHoklch(56.65% 0.237 320.5)
XYZxyz(29.3842, 15.3255, 56.6574)
Luminance0.1532 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02DC9 #46C92D
analogous
#622DC9 #B02DC9 #C92D94
triadic
#B02DC9 #C9B02D #2DC9B0
tetradic
#B02DC9 #C9622D #46C92D #2D94C9
square
#B02DC9 #C9622D #46C92D #2D94C9
split-complementary
#B02DC9 #94C92D #2DC962
monochromatic
#581765 #842297 #B02DC9 #C559DA #D78BE5

Accessibility & contrast

On white

5.17
#B02DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#B02DC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02DC9
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02DC9#FFFFFF#000000##FFFFFF
##B02DC91.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CD
Deuteranopia (green-blind)
#3E72C6
Tritanopia (blue-blind)
#B14E7B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b02dc9;
/* rgb */ color: rgb(176, 45, 201);
/* oklch */ color: oklch(56.6% 0.237 320.5);
Tailwind
colors: {
  custom: {
    50: '#cc75da',
    500: '#b02dc9',
    950: '#000000',
  },
}
SCSS
$custom: #b02dc9;
$custom-light: #cc75da;
$custom-dark: #000000;
JSON
{
  "hex": "#b02dc9",
  "rgb": {
    "r": 176,
    "g": 45,
    "b": 201
  },
  "hsl": {
    "h": 290.385,
    "s": 63.415,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56646,
    "c": 0.23746,
    "h": 320.5
  },
  "luminance": 0.15324
}

Semantic roles & 50–950 ramp

primary
#B02DC9
secondary
#8FCF83
accent
#E6415C
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140915
muted
#837B83

Preview Lab

Preview with #B02DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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