#D27FF2#D27FF2

#D27FF2 is a light, vivid purple. Relative luminance 0.353; OKLCH L 72.8% C 0.180 H 316.0°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#D27FF2
RGBrgb(210, 127, 242)
HSLhsl(283, 82%, 72%)
HSVhsv(283, 48%, 95%)
CMYKcmyk(13.2%, 47.5%, 0%, 5.1%)
CIE-LABlab(65.98, 50.80, -45.07)
CIE-LCHlch(65.98, 67.91, 318.42°)
OKLaboklab(72.77% 0.1293 -0.1251)
OKLCHoklch(72.77% 0.18 316)
XYZxyz(50.1923, 35.2927, 88.1553)
Luminance0.3529 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27FF2 #9FF27F
analogous
#987FF2 #D27FF2 #F27FD9
triadic
#D27FF2 #F2D27F #7FF2D2
tetradic
#D27FF2 #F2987F #9FF27F #7FD9F2
square
#D27FF2 #F2987F #9FF27F #7FD9F2
split-complementary
#D27FF2 #D9F27F #7FF298
monochromatic
#A817E0 #BE47EC #D27FF2 #E6B7F8 #F5E3FC

Accessibility & contrast

On white

2.61
#D27FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#D27FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27FF2
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27FF2#FFFFFF#000000##000000
##D27FF21.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#689BF6
Deuteranopia (green-blind)
#80A3EF
Tritanopia (blue-blind)
#D090AD
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d27ff2;
/* rgb */ color: rgb(210, 127, 242);
/* oklch */ color: oklch(72.8% 0.180 316.0);
Tailwind
colors: {
  custom: {
    50: '#e2a6f7',
    500: '#d27ff2',
    950: '#000000',
  },
}
SCSS
$custom: #d27ff2;
$custom-light: #e2a6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d27ff2",
  "rgb": {
    "r": 210,
    "g": 127,
    "b": 242
  },
  "hsl": {
    "h": 283.304,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.72768,
    "c": 0.17994,
    "h": 316
  },
  "luminance": 0.35291
}

Semantic roles & 50–950 ramp

primary
#D27FF2
secondary
#DFF4D7
accent
#DE0843
background
#FEFAFF
surface
#FCF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #D27FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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