#D270FD#D270FD

#D270FD is a light, highly saturated purple. Relative luminance 0.324; OKLCH L 71.2% C 0.214 H 314.4°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#D270FD
RGBrgb(210, 112, 253)
HSLhsl(282, 97%, 72%)
HSVhsv(282, 56%, 99%)
CMYKcmyk(17%, 55.7%, 0%, 0.8%)
CIE-LABlab(63.66, 60.54, -54.78)
CIE-LCHlch(63.66, 81.65, 317.86°)
OKLaboklab(71.24% 0.15 -0.1532)
OKLCHoklch(71.24% 0.214 314.4)
XYZxyz(50.0992, 32.3833, 96.5210)
Luminance0.3238 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D270FD #9BFD70
analogous
#8C70FD #D270FD #FD70E2
triadic
#D270FD #FDD270 #70FDD2
tetradic
#D270FD #FD8C70 #9BFD70 #70E2FD
square
#D270FD #FD8C70 #9BFD70 #70E2FD
split-complementary
#D270FD #E2FD70 #70FD8C
monochromatic
#A703EF #BF34FC #D270FD #E5ACFE #F6E1FF

Accessibility & contrast

On white

2.81
#D270FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#D270FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D270FD
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D270FD#FFFFFF#000000##000000
##D270FD1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4995FF
Deuteranopia (green-blind)
#6D9DF9
Tritanopia (blue-blind)
#CF88AC
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d270fd;
/* rgb */ color: rgb(210, 112, 253);
/* oklch */ color: oklch(71.2% 0.214 314.4);
Tailwind
colors: {
  custom: {
    50: '#e39dff',
    500: '#d270fd',
    950: '#000000',
  },
}
SCSS
$custom: #d270fd;
$custom-light: #e39dff;
$custom-dark: #000000;
JSON
{
  "hex": "#d270fd",
  "rgb": {
    "r": 210,
    "g": 112,
    "b": 253
  },
  "hsl": {
    "h": 281.702,
    "s": 97.241,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71235,
    "c": 0.2144,
    "h": 314.4
  },
  "luminance": 0.32382
}

Semantic roles & 50–950 ramp

primary
#D270FD
secondary
#DDF7D2
accent
#E60046
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F18
muted
#847E86

Preview Lab

Preview with #D270FD

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

Preview Lab → · Contrast checker → · Palette generator →

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