#D270DC#D270DC

#D270DC is a light, vivid purple. Relative luminance 0.305; OKLCH L 69.5% C 0.182 H 323.8°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#D270DC
RGBrgb(210, 112, 220)
HSLhsl(294, 61%, 65%)
HSVhsv(294, 49%, 86%)
CMYKcmyk(4.5%, 49.1%, 0%, 13.7%)
CIE-LABlab(62.05, 54.12, -39.02)
CIE-LCHlch(62.05, 66.72, 324.21°)
OKLaboklab(69.53% 0.1468 -0.1075)
OKLCHoklch(69.53% 0.182 323.8)
XYZxyz(45.2896, 30.4594, 71.1899)
Luminance0.3046 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D270DC #7ADC70
analogous
#9C70DC #D270DC #DC70B0
triadic
#D270DC #DCD270 #70DCD2
tetradic
#D270DC #DC9C70 #7ADC70 #70B0DC
square
#D270DC #DC9C70 #7ADC70 #70B0DC
split-complementary
#D270DC #B0DC70 #70DC9C
monochromatic
#9D29A8 #C33FD0 #D270DC #E1A1E8 #F1D2F4

Accessibility & contrast

On white

2.96
#D270DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#D270DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D270DC
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D270DC#FFFFFF#000000##000000
##D270DC1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#628EE0
Deuteranopia (green-blind)
#7F9AD9
Tritanopia (blue-blind)
#D57D9C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d270dc;
/* rgb */ color: rgb(210, 112, 220);
/* oklch */ color: oklch(69.5% 0.182 323.8);
Tailwind
colors: {
  custom: {
    50: '#e29ce7',
    500: '#d270dc',
    950: '#000000',
  },
}
SCSS
$custom: #d270dc;
$custom-light: #e29ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#d270dc",
  "rgb": {
    "r": 210,
    "g": 112,
    "b": 220
  },
  "hsl": {
    "h": 294.444,
    "s": 60.674,
    "l": 65.098
  },
  "oklch": {
    "l": 0.69526,
    "c": 0.18197,
    "h": 323.8
  },
  "luminance": 0.30457
}

Semantic roles & 50–950 ramp

primary
#D270DC
secondary
#C5E6C2
accent
#C81D2D
background
#FEF9FE
surface
#FCF2FC
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D270DC

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

Preview Lab → · Contrast checker → · Palette generator →

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