#D27DF2#D27DF2

#D27DF2 is a light, vivid purple. Relative luminance 0.348; OKLCH L 72.5% C 0.183 H 316.1°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#D27DF2
RGBrgb(210, 125, 242)
HSLhsl(284, 82%, 72%)
HSVhsv(284, 48%, 95%)
CMYKcmyk(13.2%, 48.3%, 0%, 5.1%)
CIE-LABlab(65.58, 51.83, -45.69)
CIE-LCHlch(65.58, 69.09, 318.60°)
OKLaboklab(72.47% 0.1321 -0.1269)
OKLCHoklch(72.47% 0.183 316.1)
XYZxyz(49.9366, 34.7812, 88.0701)
Luminance0.3478 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27DF2 #9DF27D
analogous
#987DF2 #D27DF2 #F27DD7
triadic
#D27DF2 #F2D27D #7DF2D2
tetradic
#D27DF2 #F2987D #9DF27D #7DD7F2
square
#D27DF2 #F2987D #9DF27D #7DD7F2
split-complementary
#D27DF2 #D7F27D #7DF298
monochromatic
#A816DE #BF45EC #D27DF2 #E5B5F8 #F5E3FC

Accessibility & contrast

On white

2.64
#D27DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#D27DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27DF2
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27DF2#FFFFFF#000000##000000
##D27DF21.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#669AF6
Deuteranopia (green-blind)
#7FA2EF
Tritanopia (blue-blind)
#D18EAC
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d27df2;
/* rgb */ color: rgb(210, 125, 242);
/* oklch */ color: oklch(72.5% 0.183 316.1);
Tailwind
colors: {
  custom: {
    50: '#e2a5f7',
    500: '#d27df2',
    950: '#000000',
  },
}
SCSS
$custom: #d27df2;
$custom-light: #e2a5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d27df2",
  "rgb": {
    "r": 210,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 283.59,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.72473,
    "c": 0.18315,
    "h": 316.1
  },
  "luminance": 0.3478
}

Semantic roles & 50–950 ramp

primary
#D27DF2
secondary
#DFF4D7
accent
#DE0742
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D27DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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