#D270F2#D270F2

#D270F2 is a light, highly saturated purple. Relative luminance 0.317; OKLCH L 70.6% C 0.203 H 317.2°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#D270F2
RGBrgb(210, 112, 242)
HSLhsl(285, 83%, 69%)
HSVhsv(285, 54%, 95%)
CMYKcmyk(13.2%, 53.7%, 0%, 5.1%)
CIE-LABlab(63.10, 58.34, -49.61)
CIE-LCHlch(63.10, 76.58, 319.62°)
OKLaboklab(70.64% 0.1492 -0.1382)
OKLCHoklch(70.64% 0.203 317.2)
XYZxyz(48.3972, 31.7025, 87.5570)
Luminance0.3170 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D270F2 #90F270
analogous
#9170F2 #D270F2 #F270D1
triadic
#D270F2 #F2D270 #70F2D2
tetradic
#D270F2 #F29170 #90F270 #70D1F2
square
#D270F2 #F29170 #90F270 #70D1F2
split-complementary
#D270F2 #D1F270 #70F291
monochromatic
#A513D4 #C038ED #D270F2 #E4A8F7 #F5E0FC

Accessibility & contrast

On white

2.86
#D270F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#D270F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D270F2
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D270F2#FFFFFF#000000##000000
##D270F21.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5392F6
Deuteranopia (green-blind)
#749CEF
Tritanopia (blue-blind)
#D184A7
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d270f2;
/* rgb */ color: rgb(210, 112, 242);
/* oklch */ color: oklch(70.6% 0.203 317.2);
Tailwind
colors: {
  custom: {
    50: '#e29df7',
    500: '#d270f2',
    950: '#000000',
  },
}
SCSS
$custom: #d270f2;
$custom-light: #e29df7;
$custom-dark: #000000;
JSON
{
  "hex": "#d270f2",
  "rgb": {
    "r": 210,
    "g": 112,
    "b": 242
  },
  "hsl": {
    "h": 285.231,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.7064,
    "c": 0.20339,
    "h": 317.2
  },
  "luminance": 0.31701
}

Semantic roles & 50–950 ramp

primary
#D270F2
secondary
#D5F2CC
accent
#E0063B
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F17
muted
#847E85

Preview Lab

Preview with #D270F2

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

Preview Lab → · Contrast checker → · Palette generator →

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