#D270DB#D270DB

#D270DB is a light, vivid purple. Relative luminance 0.304; OKLCH L 69.5% C 0.181 H 324.1°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#D270DB
RGBrgb(210, 112, 219)
HSLhsl(295, 60%, 65%)
HSVhsv(295, 49%, 86%)
CMYKcmyk(4.1%, 48.9%, 0%, 14.1%)
CIE-LABlab(62.00, 53.93, -38.53)
CIE-LCHlch(62.00, 66.28, 324.46°)
OKLaboklab(69.48% 0.1467 -0.1061)
OKLCHoklch(69.48% 0.181 324.1)
XYZxyz(45.1575, 30.4066, 70.4945)
Luminance0.3040 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D270DB #79DB70
analogous
#9C70DB #D270DB #DB70AF
triadic
#D270DB #DBD270 #70DBD2
tetradic
#D270DB #DB9C70 #79DB70 #70AFDB
square
#D270DB #DB9C70 #79DB70 #70AFDB
split-complementary
#D270DB #AFDB70 #70DB9C
monochromatic
#9C2AA7 #C33FCF #D270DB #E1A1E7 #F1D2F4

Accessibility & contrast

On white

2.97
#D270DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#D270DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D270DB
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D270DB#FFFFFF#000000##000000
##D270DB1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#638EDF
Deuteranopia (green-blind)
#809AD8
Tritanopia (blue-blind)
#D67D9C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d270db;
/* rgb */ color: rgb(210, 112, 219);
/* oklch */ color: oklch(69.5% 0.181 324.1);
Tailwind
colors: {
  custom: {
    50: '#e29ce6',
    500: '#d270db',
    950: '#000000',
  },
}
SCSS
$custom: #d270db;
$custom-light: #e29ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#d270db",
  "rgb": {
    "r": 210,
    "g": 112,
    "b": 219
  },
  "hsl": {
    "h": 294.953,
    "s": 59.777,
    "l": 64.902
  },
  "oklch": {
    "l": 0.69478,
    "c": 0.18103,
    "h": 324.1
  },
  "luminance": 0.30404
}

Semantic roles & 50–950 ramp

primary
#D270DB
secondary
#C4E6C1
accent
#C71E2C
background
#FEF9FE
surface
#FCF2FC
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D270DB

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

Preview Lab → · Contrast checker → · Palette generator →

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