#D270FA#D270FA

#D270FA is a light, highly saturated purple. Relative luminance 0.322; OKLCH L 71.1% C 0.211 H 315.1°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#D270FA
RGBrgb(210, 112, 250)
HSLhsl(283, 93%, 71%)
HSVhsv(283, 55%, 98%)
CMYKcmyk(16%, 55.2%, 0%, 2%)
CIE-LABlab(63.50, 59.93, -53.38)
CIE-LCHlch(63.50, 80.26, 318.31°)
OKLaboklab(71.07% 0.1498 -0.1491)
OKLCHoklch(71.07% 0.211 315.1)
XYZxyz(49.6251, 32.1936, 94.0238)
Luminance0.3219 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D270FA #98FA70
analogous
#8D70FA #D270FA #FA70DD
triadic
#D270FA #FAD270 #70FAD2
tetradic
#D270FA #FA8D70 #98FA70 #70DDFA
square
#D270FA #FA8D70 #98FA70 #70DDFA
split-complementary
#D270FA #DDFA70 #70FA8D
monochromatic
#A708E8 #BF35F8 #D270FA #E5ABFC #F6E1FE

Accessibility & contrast

On white

2.82
#D270FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#D270FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D270FA
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D270FA#FFFFFF#000000##000000
##D270FA1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C94FE
Deuteranopia (green-blind)
#6F9CF6
Tritanopia (blue-blind)
#CF87AB
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d270fa;
/* rgb */ color: rgb(210, 112, 250);
/* oklch */ color: oklch(71.1% 0.211 315.1);
Tailwind
colors: {
  custom: {
    50: '#e39dfc',
    500: '#d270fa',
    950: '#000000',
  },
}
SCSS
$custom: #d270fa;
$custom-light: #e39dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#d270fa",
  "rgb": {
    "r": 210,
    "g": 112,
    "b": 250
  },
  "hsl": {
    "h": 282.609,
    "s": 93.243,
    "l": 70.98
  },
  "oklch": {
    "l": 0.7107,
    "c": 0.21138,
    "h": 315.1
  },
  "luminance": 0.32192
}

Semantic roles & 50–950 ramp

primary
#D270FA
secondary
#DBF5D1
accent
#E60043
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F17
muted
#847E85

Preview Lab

Preview with #D270FA

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

Preview Lab → · Contrast checker → · Palette generator →

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