#D270EF#D270EF

#D270EF is a light, highly saturated purple. Relative luminance 0.315; OKLCH L 70.5% C 0.200 H 318.0°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#D270EF
RGBrgb(210, 112, 239)
HSLhsl(286, 80%, 69%)
HSVhsv(286, 53%, 94%)
CMYKcmyk(12.1%, 53.1%, 0%, 6.3%)
CIE-LABlab(62.95, 57.75, -48.19)
CIE-LCHlch(62.95, 75.21, 320.16°)
OKLaboklab(70.48% 0.149 -0.134)
OKLCHoklch(70.48% 0.2 318)
XYZxyz(47.9504, 31.5237, 85.2035)
Luminance0.3152 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D270EF #8DEF70
analogous
#9370EF #D270EF #EF70CD
triadic
#D270EF #EFD270 #70EFD2
tetradic
#D270EF #EF9370 #8DEF70 #70CDEF
square
#D270EF #EF9370 #8DEF70 #70CDEF
split-complementary
#D270EF #CDEF70 #70EF93
monochromatic
#A417CE #C139E9 #D270EF #E3A7F5 #F5DEFB

Accessibility & contrast

On white

2.87
#D270EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#D270EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D270EF
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D270EF#FFFFFF#000000##000000
##D270EF1.002.877.307.30
#FFFFFF2.871.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5592F3
Deuteranopia (green-blind)
#759CEC
Tritanopia (blue-blind)
#D283A5
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d270ef;
/* rgb */ color: rgb(210, 112, 239);
/* oklch */ color: oklch(70.5% 0.200 318.0);
Tailwind
colors: {
  custom: {
    50: '#e29df5',
    500: '#d270ef',
    950: '#000000',
  },
}
SCSS
$custom: #d270ef;
$custom-light: #e29df5;
$custom-dark: #000000;
JSON
{
  "hex": "#d270ef",
  "rgb": {
    "r": 210,
    "g": 112,
    "b": 239
  },
  "hsl": {
    "h": 286.299,
    "s": 79.874,
    "l": 68.824
  },
  "oklch": {
    "l": 0.70482,
    "c": 0.20041,
    "h": 318
  },
  "luminance": 0.31522
}

Semantic roles & 50–950 ramp

primary
#D270EF
secondary
#D3F0CB
accent
#DC0939
background
#FEF9FF
surface
#FCF2FE
border
#D5CCD6
text
#160F17
muted
#847E85

Preview Lab

Preview with #D270EF

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

Preview Lab → · Contrast checker → · Palette generator →

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