#D02BDF#D02BDF

#D02BDF is a light, highly saturated purple. Relative luminance 0.205; OKLCH L 62.5% C 0.268 H 324.2°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#D02BDF
RGBrgb(208, 43, 223)
HSLhsl(295, 74%, 52%)
HSVhsv(295, 81%, 87%)
CMYKcmyk(6.7%, 80.7%, 0%, 12.5%)
CIE-LABlab(52.36, 80.64, -56.08)
CIE-LCHlch(52.36, 98.22, 325.18°)
OKLaboklab(62.51% 0.2175 -0.1567)
OKLCHoklch(62.51% 0.268 324.2)
XYZxyz(40.1945, 20.4680, 71.6314)
Luminance0.2046 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02BDF #3ADF2B
analogous
#762BDF #D02BDF #DF2B94
triadic
#D02BDF #DFD02B #2BDFD0
tetradic
#D02BDF #DF762B #3ADF2B #2B94DF
square
#D02BDF #DF762B #3ADF2B #2B94DF
split-complementary
#D02BDF #94DF2B #2BDF76
monochromatic
#74137D #A51BB2 #D02BDF #DC60E7 #E895EF

Accessibility & contrast

On white

4.12
#D02BDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#D02BDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D02BDF
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02BDF#FFFFFF#000000##000000
##D02BDF1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071E4
Deuteranopia (green-blind)
#5283DB
Tritanopia (blue-blind)
#D45187
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d02bdf;
/* rgb */ color: rgb(208, 43, 223);
/* oklch */ color: oklch(62.5% 0.268 324.2);
Tailwind
colors: {
  custom: {
    50: '#e37aea',
    500: '#d02bdf',
    950: '#000000',
  },
}
SCSS
$custom: #d02bdf;
$custom-light: #e37aea;
$custom-dark: #000000;
JSON
{
  "hex": "#d02bdf",
  "rgb": {
    "r": 208,
    "g": 43,
    "b": 223
  },
  "hsl": {
    "h": 295,
    "s": 73.77,
    "l": 52.157
  },
  "oklch": {
    "l": 0.62507,
    "c": 0.26803,
    "h": 324.2
  },
  "luminance": 0.20465
}

Semantic roles & 50–950 ramp

primary
#D02BDF
secondary
#92DA8C
accent
#F03747
background
#FEF8FE
surface
#FDEFFD
border
#D5CAD5
text
#160B16
muted
#847C84

Preview Lab

Preview with #D02BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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