#D12EFF#D12EFF

#D12EFF is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 64.9% C 0.290 H 317.0°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#D12EFF
RGBrgb(209, 46, 255)
HSLhsl(287, 100%, 59%)
HSVhsv(287, 82%, 100%)
CMYKcmyk(18%, 82%, 0%, 0%)
CIE-LABlab(54.79, 85.47, -70.11)
CIE-LCHlch(54.79, 110.54, 320.64°)
OKLaboklab(64.89% 0.2121 -0.1978)
OKLCHoklch(64.89% 0.29 317)
XYZxyz(45.3188, 22.7313, 96.5888)
Luminance0.2273 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D12EFF #5CFF2E
analogous
#692EFF #D12EFF #FF2EC5
triadic
#D12EFF #FFD12E #2EFFD1
tetradic
#D12EFF #FF692E #5CFF2E #2EC5FF
square
#D12EFF #FF692E #5CFF2E #2EC5FF
split-complementary
#D12EFF #C5FF2E #2EFF69
monochromatic
#8B00B3 #BB00F0 #D12EFF #DE6BFF #ECA8FF

Accessibility & contrast

On white

3.79
#D12EFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#D12EFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D12EFF
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D12EFF#FFFFFF#000000##000000
##D12EFF1.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#3088FB
Tritanopia (blue-blind)
#CE629B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d12eff;
/* rgb */ color: rgb(209, 46, 255);
/* oklch */ color: oklch(64.9% 0.290 317.0);
Tailwind
colors: {
  custom: {
    50: '#e57dff',
    500: '#d12eff',
    950: '#000000',
  },
}
SCSS
$custom: #d12eff;
$custom-light: #e57dff;
$custom-dark: #000000;
JSON
{
  "hex": "#d12eff",
  "rgb": {
    "r": 209,
    "g": 46,
    "b": 255
  },
  "hsl": {
    "h": 286.794,
    "s": 100,
    "l": 59.02
  },
  "oklch": {
    "l": 0.64891,
    "c": 0.29,
    "h": 317
  },
  "luminance": 0.22729
}

Semantic roles & 50–950 ramp

primary
#D12EFF
secondary
#ADED9B
accent
#FF2958
background
#FEF8FF
surface
#FDEFFF
border
#D5CAD7
text
#170B18
muted
#857C86

Preview Lab

Preview with #D12EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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