#D270FE#D270FE

#D270FE is a light, highly saturated purple. Relative luminance 0.324; OKLCH L 71.3% C 0.215 H 314.1°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#D270FE
RGBrgb(210, 112, 254)
HSLhsl(281, 99%, 72%)
HSVhsv(281, 56%, 100%)
CMYKcmyk(17.3%, 55.9%, 0%, 0.4%)
CIE-LABlab(63.71, 60.74, -55.25)
CIE-LCHlch(63.71, 82.11, 317.71°)
OKLaboklab(71.29% 0.15 -0.1546)
OKLCHoklch(71.29% 0.215 314.1)
XYZxyz(50.2590, 32.4472, 97.3621)
Luminance0.3245 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D270FE #9CFE70
analogous
#8B70FE #D270FE #FE70E3
triadic
#D270FE #FED270 #70FED2
tetradic
#D270FE #FE8B70 #9CFE70 #70E3FE
square
#D270FE #FE8B70 #9CFE70 #70E3FE
split-complementary
#D270FE #E3FE70 #70FE8B
monochromatic
#A702F2 #BF33FE #D270FE #E5ADFE #F5E1FF

Accessibility & contrast

On white

2.80
#D270FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#D270FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D270FE
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D270FE#FFFFFF#000000##000000
##D270FE1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4895FF
Deuteranopia (green-blind)
#6C9DFA
Tritanopia (blue-blind)
#CE88AD
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d270fe;
/* rgb */ color: rgb(210, 112, 254);
/* oklch */ color: oklch(71.3% 0.215 314.1);
Tailwind
colors: {
  custom: {
    50: '#e39dff',
    500: '#d270fe',
    950: '#000000',
  },
}
SCSS
$custom: #d270fe;
$custom-light: #e39dff;
$custom-dark: #000000;
JSON
{
  "hex": "#d270fe",
  "rgb": {
    "r": 210,
    "g": 112,
    "b": 254
  },
  "hsl": {
    "h": 281.408,
    "s": 98.611,
    "l": 71.765
  },
  "oklch": {
    "l": 0.7129,
    "c": 0.2154,
    "h": 314.1
  },
  "luminance": 0.32446
}

Semantic roles & 50–950 ramp

primary
#D270FE
secondary
#DEF7D3
accent
#E60047
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F18
muted
#847E86

Preview Lab

Preview with #D270FE

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

Preview Lab → · Contrast checker → · Palette generator →

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