#D03FE2#D03FE2

#D03FE2 is a light, highly saturated purple. Relative luminance 0.225; OKLCH L 64.1% C 0.252 H 323.1°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#D03FE2
RGBrgb(208, 63, 226)
HSLhsl(293, 74%, 57%)
HSVhsv(293, 72%, 89%)
CMYKcmyk(8%, 72.1%, 0%, 11.4%)
CIE-LABlab(54.51, 75.45, -54.34)
CIE-LCHlch(54.51, 92.98, 324.24°)
OKLaboklab(64.09% 0.2017 -0.1517)
OKLCHoklch(64.09% 0.252 323.1)
XYZxyz(41.5161, 22.4584, 74.0849)
Luminance0.2246 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D03FE2 #51E23F
analogous
#7F3FE2 #D03FE2 #E23FA3
triadic
#D03FE2 #E2D03F #3FE2D0
tetradic
#D03FE2 #E27F3F #51E23F #3FA3E2
square
#D03FE2 #E27F3F #51E23F #3FA3E2
split-complementary
#D03FE2 #A3E23F #3FE27F
monochromatic
#831691 #B31EC6 #D03FE2 #DD74EA #EAA9F2

Accessibility & contrast

On white

3.82
#D03FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#D03FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D03FE2
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D03FE2#FFFFFF#000000##000000
##D03FE21.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E7
Deuteranopia (green-blind)
#5A88DE
Tritanopia (blue-blind)
#D35D8E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d03fe2;
/* rgb */ color: rgb(208, 63, 226);
/* oklch */ color: oklch(64.1% 0.252 323.1);
Tailwind
colors: {
  custom: {
    50: '#e382ec',
    500: '#d03fe2',
    950: '#000000',
  },
}
SCSS
$custom: #d03fe2;
$custom-light: #e382ec;
$custom-dark: #000000;
JSON
{
  "hex": "#d03fe2",
  "rgb": {
    "r": 208,
    "g": 63,
    "b": 226
  },
  "hsl": {
    "h": 293.374,
    "s": 73.756,
    "l": 56.667
  },
  "oklch": {
    "l": 0.64087,
    "c": 0.25241,
    "h": 323.1
  },
  "luminance": 0.22456
}

Semantic roles & 50–950 ramp

primary
#D03FE2
secondary
#A4E09D
accent
#F0374C
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #D03FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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