#B02DB3#B02DB3

#B02DB3 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.3% C 0.220 H 327.1°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#B02DB3
RGBrgb(176, 45, 179)
HSLhsl(299, 60%, 44%)
HSVhsv(299, 75%, 70%)
CMYKcmyk(1.7%, 74.9%, 0%, 29.8%)
CIE-LABlab(44.75, 66.75, -43.11)
CIE-LCHlch(44.75, 79.46, 327.14°)
OKLaboklab(55.28% 0.1848 -0.1197)
OKLCHoklch(55.28% 0.22 327.1)
XYZxyz(26.9791, 14.3635, 43.9905)
Luminance0.1436 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02DB3 #30B32D
analogous
#6D2DB3 #B02DB3 #B32D73
triadic
#B02DB3 #B3B02D #2DB3B0
tetradic
#B02DB3 #B36D2D #30B32D #2D73B3
square
#B02DB3 #B36D2D #30B32D #2D73B3
split-complementary
#B02DB3 #73B32D #2DB36D
monochromatic
#501451 #802182 #B02DB3 #CF4BD2 #DC7CDE

Accessibility & contrast

On white

5.42
#B02DB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#B02DB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02DB3
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02DB3#FFFFFF#000000##FFFFFF
##B02DB31.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#055FB7
Deuteranopia (green-blind)
#5070B0
Tritanopia (blue-blind)
#B5436E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b02db3;
/* rgb */ color: rgb(176, 45, 179);
/* oklch */ color: oklch(55.3% 0.220 327.1);
Tailwind
colors: {
  custom: {
    50: '#cb74ca',
    500: '#b02db3',
    950: '#000000',
  },
}
SCSS
$custom: #b02db3;
$custom-light: #cb74ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b02db3",
  "rgb": {
    "r": 176,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 298.657,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.55279,
    "c": 0.2202,
    "h": 327.1
  },
  "luminance": 0.14362
}

Semantic roles & 50–950 ramp

primary
#B02DB3
secondary
#77C775
accent
#E34548
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B02DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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