#D12FEE#D12FEE

#D12FEE is a light, highly saturated purple. Relative luminance 0.218; OKLCH L 63.8% C 0.276 H 320.8°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#D12FEE
RGBrgb(209, 47, 238)
HSLhsl(291, 85%, 56%)
HSVhsv(291, 80%, 93%)
CMYKcmyk(12.2%, 80.3%, 0%, 6.7%)
CIE-LABlab(53.78, 82.31, -62.27)
CIE-LCHlch(53.78, 103.21, 322.89°)
OKLaboklab(63.83% 0.2142 -0.1748)
OKLCHoklch(63.83% 0.276 320.8)
XYZxyz(42.7418, 21.7638, 82.8218)
Luminance0.2176 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D12FEE #4CEE2F
analogous
#712FEE #D12FEE #EE2FAB
triadic
#D12FEE #EED12F #2FEED1
tetradic
#D12FEE #EE712F #4CEE2F #2FABEE
square
#D12FEE #EE712F #4CEE2F #2FABEE
split-complementary
#D12FEE #ABEE2F #2FEE71
monochromatic
#810C96 #B211CF #D12FEE #DE68F3 #EAA0F7

Accessibility & contrast

On white

3.92
#D12FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#D12FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D12FEE
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D12FEE#FFFFFF#000000##000000
##D12FEE1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076F3
Deuteranopia (green-blind)
#4786EA
Tritanopia (blue-blind)
#D25A91
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d12fee;
/* rgb */ color: rgb(209, 47, 238);
/* oklch */ color: oklch(63.8% 0.276 320.8);
Tailwind
colors: {
  custom: {
    50: '#e47cf4',
    500: '#d12fee',
    950: '#000000',
  },
}
SCSS
$custom: #d12fee;
$custom-light: #e47cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#d12fee",
  "rgb": {
    "r": 209,
    "g": 47,
    "b": 238
  },
  "hsl": {
    "h": 290.89,
    "s": 84.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63827,
    "c": 0.27645,
    "h": 320.8
  },
  "luminance": 0.21761
}

Semantic roles & 50–950 ramp

primary
#D12FEE
secondary
#A1E495
accent
#FB2D4C
background
#FEF8FF
surface
#FDEFFE
border
#D5CAD6
text
#160B17
muted
#847C85

Preview Lab

Preview with #D12FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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