#B02DB2#B02DB2

#B02DB2 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.2% C 0.219 H 327.4°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#B02DB2
RGBrgb(176, 45, 178)
HSLhsl(299, 60%, 44%)
HSVhsv(299, 75%, 70%)
CMYKcmyk(1.1%, 74.7%, 0%, 30.2%)
CIE-LABlab(44.69, 66.58, -42.61)
CIE-LCHlch(44.69, 79.05, 327.38°)
OKLaboklab(55.22% 0.1848 -0.1182)
OKLCHoklch(55.22% 0.219 327.4)
XYZxyz(26.8784, 14.3232, 43.4598)
Luminance0.1432 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02DB2 #2FB22D
analogous
#6D2DB2 #B02DB2 #B22D71
triadic
#B02DB2 #B2B02D #2DB2B0
tetradic
#B02DB2 #B26D2D #2FB22D #2D71B2
square
#B02DB2 #B26D2D #2FB22D #2D71B2
split-complementary
#B02DB2 #71B22D #2DB26D
monochromatic
#4F1450 #802181 #B02DB2 #CF4BD1 #DC7CDE

Accessibility & contrast

On white

5.43
#B02DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#B02DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02DB2
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02DB2#FFFFFF#000000##FFFFFF
##B02DB21.005.433.865.43
#FFFFFF5.431.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#085FB6
Deuteranopia (green-blind)
#506FAF
Tritanopia (blue-blind)
#B5436E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b02db2;
/* rgb */ color: rgb(176, 45, 178);
/* oklch */ color: oklch(55.2% 0.219 327.4);
Tailwind
colors: {
  custom: {
    50: '#cb74c9',
    500: '#b02db2',
    950: '#000000',
  },
}
SCSS
$custom: #b02db2;
$custom-light: #cb74c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b02db2",
  "rgb": {
    "r": 176,
    "g": 45,
    "b": 178
  },
  "hsl": {
    "h": 299.098,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5522,
    "c": 0.21944,
    "h": 327.4
  },
  "luminance": 0.14321
}

Semantic roles & 50–950 ramp

primary
#B02DB2
secondary
#76C675
accent
#E34547
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B02DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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