#D270CD#D270CD

#D270CD is a light, vivid purple. Relative luminance 0.297; OKLCH L 68.8% C 0.168 H 329.1°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#D270CD
RGBrgb(210, 112, 205)
HSLhsl(303, 52%, 63%)
HSVhsv(303, 47%, 82%)
CMYKcmyk(0%, 46.7%, 2.4%, 17.6%)
CIE-LABlab(61.39, 51.40, -31.61)
CIE-LCHlch(61.39, 60.34, 328.41°)
OKLaboklab(68.83% 0.1443 -0.0863)
OKLCHoklch(68.83% 0.168 329.1)
XYZxyz(43.3914, 29.7002, 61.1929)
Luminance0.2970 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D270CD #70D275
analogous
#A670D2 #D270CD #D2709C
triadic
#D270CD #CDD270 #70CDD2
tetradic
#D270CD #D2A670 #70D275 #709CD2
square
#D270CD #D2A670 #70D275 #709CD2
split-complementary
#D270CD #9CD270 #70D2A6
monochromatic
#983093 #C341BD #D270CD #E19FDD #EFCDEE

Accessibility & contrast

On white

3.03
#D270CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#D270CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D270CD
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D270CD#FFFFFF#000000##000000
##D270CD1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8CD0
Deuteranopia (green-blind)
#8699CA
Tritanopia (blue-blind)
#D87995
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d270cd;
/* rgb */ color: rgb(210, 112, 205);
/* oklch */ color: oklch(68.8% 0.168 329.1);
Tailwind
colors: {
  custom: {
    50: '#e29cdc',
    500: '#d270cd',
    950: '#000000',
  },
}
SCSS
$custom: #d270cd;
$custom-light: #e29cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#d270cd",
  "rgb": {
    "r": 210,
    "g": 112,
    "b": 205
  },
  "hsl": {
    "h": 303.061,
    "s": 52.128,
    "l": 63.137
  },
  "oklch": {
    "l": 0.68827,
    "c": 0.16815,
    "h": 329.1
  },
  "luminance": 0.29698
}

Semantic roles & 50–950 ramp

primary
#D270CD
secondary
#BDE0BF
accent
#C02E26
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160E15
muted
#847E83

Preview Lab

Preview with #D270CD

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

Preview Lab → · Contrast checker → · Palette generator →

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