#D270F7#D270F7

#D270F7 is a light, highly saturated purple. Relative luminance 0.320; OKLCH L 70.9% C 0.208 H 315.9°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#D270F7
RGBrgb(210, 112, 247)
HSLhsl(284, 89%, 70%)
HSVhsv(284, 55%, 97%)
CMYKcmyk(15%, 54.7%, 0%, 3.1%)
CIE-LABlab(63.35, 59.33, -51.97)
CIE-LCHlch(63.35, 78.87, 318.78°)
OKLaboklab(70.91% 0.1496 -0.1451)
OKLCHoklch(70.91% 0.208 315.9)
XYZxyz(49.1584, 32.0070, 91.5661)
Luminance0.3201 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D270F7 #95F770
analogous
#8F70F7 #D270F7 #F770D8
triadic
#D270F7 #F7D270 #70F7D2
tetradic
#D270F7 #F78F70 #95F770 #70D8F7
square
#D270F7 #F78F70 #95F770 #70D8F7
split-complementary
#D270F7 #D8F770 #70F78F
monochromatic
#A60DE0 #C036F4 #D270F7 #E4AAFA #F6E2FD

Accessibility & contrast

On white

2.84
#D270F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#D270F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D270F7
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D270F7#FFFFFF#000000##000000
##D270F71.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F93FB
Deuteranopia (green-blind)
#719CF4
Tritanopia (blue-blind)
#D086A9
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d270f7;
/* rgb */ color: rgb(210, 112, 247);
/* oklch */ color: oklch(70.9% 0.208 315.9);
Tailwind
colors: {
  custom: {
    50: '#e39dfa',
    500: '#d270f7',
    950: '#000000',
  },
}
SCSS
$custom: #d270f7;
$custom-light: #e39dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#d270f7",
  "rgb": {
    "r": 210,
    "g": 112,
    "b": 247
  },
  "hsl": {
    "h": 283.556,
    "s": 89.404,
    "l": 70.392
  },
  "oklch": {
    "l": 0.70907,
    "c": 0.20837,
    "h": 315.9
  },
  "luminance": 0.32005
}

Semantic roles & 50–950 ramp

primary
#D270F7
secondary
#D9F4CF
accent
#E6003F
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F17
muted
#847E85

Preview Lab

Preview with #D270F7

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

Preview Lab → · Contrast checker → · Palette generator →

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