#B02DB7#B02DB7

#B02DB7 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.5% C 0.223 H 325.8°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#B02DB7
RGBrgb(176, 45, 183)
HSLhsl(297, 61%, 45%)
HSVhsv(297, 75%, 72%)
CMYKcmyk(3.8%, 75.4%, 0%, 28.2%)
CIE-LABlab(44.98, 67.41, -45.10)
CIE-LCHlch(44.98, 81.11, 326.22°)
OKLaboklab(55.52% 0.1847 -0.1255)
OKLCHoklch(55.52% 0.223 325.8)
XYZxyz(27.3896, 14.5276, 46.1521)
Luminance0.1453 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02DB7 #34B72D
analogous
#6B2DB7 #B02DB7 #B72D79
triadic
#B02DB7 #B7B02D #2DB7B0
tetradic
#B02DB7 #B76B2D #34B72D #2D79B7
square
#B02DB7 #B76B2D #34B72D #2D79B7
split-complementary
#B02DB7 #79B72D #2DB76B
monochromatic
#521555 #812186 #B02DB7 #CD4ED3 #DB7FDF

Accessibility & contrast

On white

5.38
#B02DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#B02DB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02DB7
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02DB7#FFFFFF#000000##FFFFFF
##B02DB71.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BB
Deuteranopia (green-blind)
#4D70B4
Tritanopia (blue-blind)
#B44571
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b02db7;
/* rgb */ color: rgb(176, 45, 183);
/* oklch */ color: oklch(55.5% 0.223 325.8);
Tailwind
colors: {
  custom: {
    50: '#cc75cd',
    500: '#b02db7',
    950: '#000000',
  },
}
SCSS
$custom: #b02db7;
$custom-light: #cc75cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b02db7",
  "rgb": {
    "r": 176,
    "g": 45,
    "b": 183
  },
  "hsl": {
    "h": 296.957,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55518,
    "c": 0.22328,
    "h": 325.8
  },
  "luminance": 0.14526
}

Semantic roles & 50–950 ramp

primary
#B02DB7
secondary
#7CC878
accent
#E4444C
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140913
muted
#837B82

Preview Lab

Preview with #B02DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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