#D27CF8#D27CF8

#D27CF8 is a light, vivid purple. Relative luminance 0.349; OKLCH L 72.6% C 0.191 H 314.6°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#D27CF8
RGBrgb(210, 124, 248)
HSLhsl(282, 90%, 73%)
HSVhsv(282, 50%, 97%)
CMYKcmyk(15.3%, 50%, 0%, 2.7%)
CIE-LABlab(65.67, 53.56, -48.85)
CIE-LCHlch(65.67, 72.49, 317.63°)
OKLaboklab(72.63% 0.1341 -0.136)
OKLCHoklch(72.63% 0.191 314.6)
XYZxyz(50.7266, 34.8956, 92.8521)
Luminance0.3489 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27CF8 #A2F87C
analogous
#947CF8 #D27CF8 #F87CE0
triadic
#D27CF8 #F8D27C #7CF8D2
tetradic
#D27CF8 #F8947C #A2F87C #7CE0F8
square
#D27CF8 #F8947C #A2F87C #7CE0F8
split-complementary
#D27CF8 #E0F87C #7CF894
monochromatic
#A80DED #BE42F5 #D27CF8 #E6B6FB #F5E2FD

Accessibility & contrast

On white

2.63
#D27CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#D27CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27CF8
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27CF8#FFFFFF#000000##000000
##D27CF81.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#609AFC
Deuteranopia (green-blind)
#7AA2F5
Tritanopia (blue-blind)
#CF8FAF
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d27cf8;
/* rgb */ color: rgb(210, 124, 248);
/* oklch */ color: oklch(72.6% 0.191 314.6);
Tailwind
colors: {
  custom: {
    50: '#e2a4fb',
    500: '#d27cf8',
    950: '#000000',
  },
}
SCSS
$custom: #d27cf8;
$custom-light: #e2a4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d27cf8",
  "rgb": {
    "r": 210,
    "g": 124,
    "b": 248
  },
  "hsl": {
    "h": 281.613,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.72632,
    "c": 0.19103,
    "h": 314.6
  },
  "luminance": 0.34894
}

Semantic roles & 50–950 ramp

primary
#D27CF8
secondary
#DFF6D5
accent
#E60046
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D27CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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