#D270EE#D270EE

#D270EE is a light, vivid purple. Relative luminance 0.315; OKLCH L 70.4% C 0.199 H 318.3°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#D270EE
RGBrgb(210, 112, 238)
HSLhsl(287, 79%, 69%)
HSVhsv(287, 53%, 93%)
CMYKcmyk(11.8%, 52.9%, 0%, 6.7%)
CIE-LABlab(62.90, 57.55, -47.71)
CIE-LCHlch(62.90, 74.75, 320.34°)
OKLaboklab(70.43% 0.1489 -0.1327)
OKLCHoklch(70.43% 0.199 318.3)
XYZxyz(47.8030, 31.4648, 84.4276)
Luminance0.3146 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D270EE #8CEE70
analogous
#9370EE #D270EE #EE70CB
triadic
#D270EE #EED270 #70EED2
tetradic
#D270EE #EE9370 #8CEE70 #70CBEE
square
#D270EE #EE9370 #8CEE70 #70CBEE
split-complementary
#D270EE #CBEE70 #70EE93
monochromatic
#A418CB #C139E7 #D270EE #E3A7F5 #F4DDFB

Accessibility & contrast

On white

2.88
#D270EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#D270EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D270EE
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D270EE#FFFFFF#000000##000000
##D270EE1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5692F2
Deuteranopia (green-blind)
#769BEB
Tritanopia (blue-blind)
#D283A5
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d270ee;
/* rgb */ color: rgb(210, 112, 238);
/* oklch */ color: oklch(70.4% 0.199 318.3);
Tailwind
colors: {
  custom: {
    50: '#e29df4',
    500: '#d270ee',
    950: '#000000',
  },
}
SCSS
$custom: #d270ee;
$custom-light: #e29df4;
$custom-dark: #000000;
JSON
{
  "hex": "#d270ee",
  "rgb": {
    "r": 210,
    "g": 112,
    "b": 238
  },
  "hsl": {
    "h": 286.667,
    "s": 78.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.7043,
    "c": 0.19942,
    "h": 318.3
  },
  "luminance": 0.31463
}

Semantic roles & 50–950 ramp

primary
#D270EE
secondary
#D2F0CA
accent
#DB0A39
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160F17
muted
#847E85

Preview Lab

Preview with #D270EE

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

Preview Lab → · Contrast checker → · Palette generator →

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