#B02DDB#B02DDB

#B02DDB is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.9% C 0.252 H 315.8°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#B02DDB
RGBrgb(176, 45, 219)
HSLhsl(285, 71%, 52%)
HSVhsv(285, 79%, 86%)
CMYKcmyk(19.6%, 79.5%, 0%, 14.1%)
CIE-LABlab(47.27, 73.78, -62.27)
CIE-LCHlch(47.27, 96.55, 319.84°)
OKLaboklab(57.86% 0.1806 -0.1758)
OKLCHoklch(57.86% 0.252 315.8)
XYZxyz(31.6270, 16.2226, 68.4694)
Luminance0.1622 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02DDB #58DB2D
analogous
#592DDB #B02DDB #DB2DAF
triadic
#B02DDB #DBB02D #2DDBB0
tetradic
#B02DDB #DB592D #58DB2D #2DAFDB
square
#B02DDB #DB592D #58DB2D #2DAFDB
split-complementary
#B02DDB #AFDB2D #2DDB59
monochromatic
#601579 #8A1EAD #B02DDB #C461E4 #D795ED

Accessibility & contrast

On white

4.95
#B02DDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#B02DDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02DDB
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02DDB#FFFFFF#000000##FFFFFF
##B02DDB1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E0
Deuteranopia (green-blind)
#2773D7
Tritanopia (blue-blind)
#AD5785
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b02ddb;
/* rgb */ color: rgb(176, 45, 219);
/* oklch */ color: oklch(57.9% 0.252 315.8);
Tailwind
colors: {
  custom: {
    50: '#cd76e7',
    500: '#b02ddb',
    950: '#000000',
  },
}
SCSS
$custom: #b02ddb;
$custom-light: #cd76e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b02ddb",
  "rgb": {
    "r": 176,
    "g": 45,
    "b": 219
  },
  "hsl": {
    "h": 285.172,
    "s": 70.732,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5786,
    "c": 0.25198,
    "h": 315.8
  },
  "luminance": 0.16221
}

Semantic roles & 50–950 ramp

primary
#B02DDB
secondary
#9FD88C
accent
#ED3A67
background
#FDF7FE
surface
#FAEEFD
border
#D3C9D5
text
#140A16
muted
#837C84

Preview Lab

Preview with #B02DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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