#D270EA#D270EA

#D270EA is a light, vivid purple. Relative luminance 0.312; OKLCH L 70.2% C 0.195 H 319.4°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#D270EA
RGBrgb(210, 112, 234)
HSLhsl(288, 74%, 68%)
HSVhsv(288, 52%, 92%)
CMYKcmyk(10.3%, 52.1%, 0%, 8.2%)
CIE-LABlab(62.70, 56.77, -45.80)
CIE-LCHlch(62.70, 72.94, 321.11°)
OKLaboklab(70.22% 0.1485 -0.1271)
OKLCHoklch(70.22% 0.195 319.4)
XYZxyz(47.2219, 31.2324, 81.3670)
Luminance0.3123 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D270EA #88EA70
analogous
#9570EA #D270EA #EA70C5
triadic
#D270EA #EAD270 #70EAD2
tetradic
#D270EA #EA9570 #88EA70 #70C5EA
square
#D270EA #EA9570 #88EA70 #70C5EA
split-complementary
#D270EA #C5EA70 #70EA95
monochromatic
#A21DC3 #C13BE2 #D270EA #E3A5F2 #F4DBFA

Accessibility & contrast

On white

2.90
#D270EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#D270EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D270EA
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D270EA#FFFFFF#000000##000000
##D270EA1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5991EE
Deuteranopia (green-blind)
#789BE7
Tritanopia (blue-blind)
#D382A3
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d270ea;
/* rgb */ color: rgb(210, 112, 234);
/* oklch */ color: oklch(70.2% 0.195 319.4);
Tailwind
colors: {
  custom: {
    50: '#e29df1',
    500: '#d270ea',
    950: '#000000',
  },
}
SCSS
$custom: #d270ea;
$custom-light: #e29df1;
$custom-dark: #000000;
JSON
{
  "hex": "#d270ea",
  "rgb": {
    "r": 210,
    "g": 112,
    "b": 234
  },
  "hsl": {
    "h": 288.197,
    "s": 74.39,
    "l": 67.843
  },
  "oklch": {
    "l": 0.70223,
    "c": 0.19549,
    "h": 319.4
  },
  "luminance": 0.3123
}

Semantic roles & 50–950 ramp

primary
#D270EA
secondary
#CFEEC8
accent
#D70F36
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160F17
muted
#847E85

Preview Lab

Preview with #D270EA

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

Preview Lab → · Contrast checker → · Palette generator →

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