#B02DB9#B02DB9

#B02DB9 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.6% C 0.225 H 325.2°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#B02DB9
RGBrgb(176, 45, 185)
HSLhsl(296, 61%, 45%)
HSVhsv(296, 76%, 73%)
CMYKcmyk(4.9%, 75.7%, 0%, 27.5%)
CIE-LABlab(45.10, 67.75, -46.08)
CIE-LCHlch(45.10, 81.94, 325.77°)
OKLaboklab(55.64% 0.1846 -0.1284)
OKLCHoklch(55.64% 0.225 325.2)
XYZxyz(27.5992, 14.6115, 47.2562)
Luminance0.1461 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02DB9 #36B92D
analogous
#6A2DB9 #B02DB9 #B92D7C
triadic
#B02DB9 #B9B02D #2DB9B0
tetradic
#B02DB9 #B96A2D #36B92D #2D7CB9
square
#B02DB9 #B96A2D #36B92D #2D7CB9
split-complementary
#B02DB9 #7CB92D #2DB96A
monochromatic
#521557 #812188 #B02DB9 #CC4FD4 #DA80E0

Accessibility & contrast

On white

5.35
#B02DB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#B02DB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02DB9
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02DB9#FFFFFF#000000##FFFFFF
##B02DB91.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BD
Deuteranopia (green-blind)
#4C70B6
Tritanopia (blue-blind)
#B44672
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b02db9;
/* rgb */ color: rgb(176, 45, 185);
/* oklch */ color: oklch(55.6% 0.225 325.2);
Tailwind
colors: {
  custom: {
    50: '#cc75cf',
    500: '#b02db9',
    950: '#000000',
  },
}
SCSS
$custom: #b02db9;
$custom-light: #cc75cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b02db9",
  "rgb": {
    "r": 176,
    "g": 45,
    "b": 185
  },
  "hsl": {
    "h": 296.143,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55639,
    "c": 0.22483,
    "h": 325.2
  },
  "luminance": 0.1461
}

Semantic roles & 50–950 ramp

primary
#B02DB9
secondary
#7EC979
accent
#E4444E
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140914
muted
#837B82

Preview Lab

Preview with #B02DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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