#D270F8#D270F8

#D270F8 is a light, highly saturated purple. Relative luminance 0.321; OKLCH L 71.0% C 0.209 H 315.6°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#D270F8
RGBrgb(210, 112, 248)
HSLhsl(283, 91%, 71%)
HSVhsv(283, 55%, 97%)
CMYKcmyk(15.3%, 54.8%, 0%, 2.7%)
CIE-LABlab(63.40, 59.53, -52.44)
CIE-LCHlch(63.40, 79.33, 318.62°)
OKLaboklab(70.96% 0.1497 -0.1464)
OKLCHoklch(70.96% 0.209 315.6)
XYZxyz(49.3132, 32.0689, 92.3810)
Luminance0.3207 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D270F8 #96F870
analogous
#8E70F8 #D270F8 #F870DA
triadic
#D270F8 #F8D270 #70F8D2
tetradic
#D270F8 #F88E70 #96F870 #70DAF8
square
#D270F8 #F88E70 #96F870 #70DAF8
split-complementary
#D270F8 #DAF870 #70F88E
monochromatic
#A60BE3 #C036F5 #D270F8 #E4AAFB #F6E2FE

Accessibility & contrast

On white

2.83
#D270F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#D270F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D270F8
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D270F8#FFFFFF#000000##000000
##D270F81.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E94FC
Deuteranopia (green-blind)
#709CF4
Tritanopia (blue-blind)
#D086AA
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d270f8;
/* rgb */ color: rgb(210, 112, 248);
/* oklch */ color: oklch(71.0% 0.209 315.6);
Tailwind
colors: {
  custom: {
    50: '#e39dfb',
    500: '#d270f8',
    950: '#000000',
  },
}
SCSS
$custom: #d270f8;
$custom-light: #e39dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#d270f8",
  "rgb": {
    "r": 210,
    "g": 112,
    "b": 248
  },
  "hsl": {
    "h": 283.235,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.70961,
    "c": 0.20938,
    "h": 315.6
  },
  "luminance": 0.32067
}

Semantic roles & 50–950 ramp

primary
#D270F8
secondary
#DAF4CF
accent
#E60040
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F17
muted
#847E85

Preview Lab

Preview with #D270F8

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

Preview Lab → · Contrast checker → · Palette generator →

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