#B02DCD#B02DCD

#B02DCD is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.9% C 0.241 H 319.4°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#B02DCD
RGBrgb(176, 45, 205)
HSLhsl(289, 64%, 49%)
HSVhsv(289, 78%, 80%)
CMYKcmyk(14.1%, 78%, 0%, 19.6%)
CIE-LABlab(46.33, 71.23, -55.74)
CIE-LCHlch(46.33, 90.44, 321.96°)
OKLaboklab(56.91% 0.1827 -0.1566)
OKLCHoklch(56.91% 0.241 319.4)
XYZxyz(29.8609, 15.5162, 59.1678)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02DCD #4ACD2D
analogous
#602DCD #B02DCD #CD2D9A
triadic
#B02DCD #CDB02D #2DCDB0
tetradic
#B02DCD #CD602D #4ACD2D #2D9ACD
square
#B02DCD #CD602D #4ACD2D #2D9ACD
split-complementary
#B02DCD #9ACD2D #2DCD60
monochromatic
#5A1769 #85229B #B02DCD #C45CDB #D68EE6

Accessibility & contrast

On white

5.12
#B02DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#B02DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02DCD
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02DCD#FFFFFF#000000##FFFFFF
##B02DCD1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D1
Deuteranopia (green-blind)
#3A72CA
Tritanopia (blue-blind)
#B0507D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b02dcd;
/* rgb */ color: rgb(176, 45, 205);
/* oklch */ color: oklch(56.9% 0.241 319.4);
Tailwind
colors: {
  custom: {
    50: '#cc76dd',
    500: '#b02dcd',
    950: '#000000',
  },
}
SCSS
$custom: #b02dcd;
$custom-light: #cc76dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b02dcd",
  "rgb": {
    "r": 176,
    "g": 45,
    "b": 205
  },
  "hsl": {
    "h": 289.125,
    "s": 64,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56909,
    "c": 0.24065,
    "h": 319.4
  },
  "luminance": 0.15515
}

Semantic roles & 50–950 ramp

primary
#B02DCD
secondary
#93D185
accent
#E7415F
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B02DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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