#D270F4#D270F4

#D270F4 is a light, highly saturated purple. Relative luminance 0.318; OKLCH L 70.7% C 0.205 H 316.7°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#D270F4
RGBrgb(210, 112, 244)
HSLhsl(285, 86%, 70%)
HSVhsv(285, 54%, 96%)
CMYKcmyk(13.9%, 54.1%, 0%, 4.3%)
CIE-LABlab(63.20, 58.73, -50.56)
CIE-LCHlch(63.20, 77.49, 319.28°)
OKLaboklab(70.75% 0.1494 -0.1409)
OKLCHoklch(70.75% 0.205 316.7)
XYZxyz(48.6992, 31.8233, 89.1476)
Luminance0.3182 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D270F4 #92F470
analogous
#9070F4 #D270F4 #F470D4
triadic
#D270F4 #F4D270 #70F4D2
tetradic
#D270F4 #F49070 #92F470 #70D4F4
square
#D270F4 #F49070 #92F470 #70D4F4
split-complementary
#D270F4 #D4F470 #70F490
monochromatic
#A511D9 #C037F0 #D270F4 #E4A9F8 #F6E2FD

Accessibility & contrast

On white

2.85
#D270F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#D270F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D270F4
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D270F4#FFFFFF#000000##000000
##D270F41.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5293F8
Deuteranopia (green-blind)
#739CF1
Tritanopia (blue-blind)
#D185A8
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d270f4;
/* rgb */ color: rgb(210, 112, 244);
/* oklch */ color: oklch(70.7% 0.205 316.7);
Tailwind
colors: {
  custom: {
    50: '#e29df8',
    500: '#d270f4',
    950: '#000000',
  },
}
SCSS
$custom: #d270f4;
$custom-light: #e29df8;
$custom-dark: #000000;
JSON
{
  "hex": "#d270f4",
  "rgb": {
    "r": 210,
    "g": 112,
    "b": 244
  },
  "hsl": {
    "h": 284.545,
    "s": 85.714,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70746,
    "c": 0.20537,
    "h": 316.7
  },
  "luminance": 0.31822
}

Semantic roles & 50–950 ramp

primary
#D270F4
secondary
#D7F3CD
accent
#E2033D
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F17
muted
#847E85

Preview Lab

Preview with #D270F4

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

Preview Lab → · Contrast checker → · Palette generator →

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