#D27CF7#D27CF7

#D27CF7 is a light, vivid purple. Relative luminance 0.348; OKLCH L 72.6% C 0.190 H 314.9°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#D27CF7
RGBrgb(210, 124, 247)
HSLhsl(282, 88%, 73%)
HSVhsv(282, 50%, 97%)
CMYKcmyk(15%, 49.8%, 0%, 3.1%)
CIE-LABlab(65.62, 53.35, -48.38)
CIE-LCHlch(65.62, 72.02, 317.80°)
OKLaboklab(72.58% 0.134 -0.1347)
OKLCHoklch(72.58% 0.19 314.9)
XYZxyz(50.5718, 34.8338, 92.0372)
Luminance0.3483 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27CF7 #A1F77C
analogous
#947CF7 #D27CF7 #F77CDF
triadic
#D27CF7 #F7D27C #7CF7D2
tetradic
#D27CF7 #F7947C #A1F77C #7CDFF7
square
#D27CF7 #F7947C #A1F77C #7CDFF7
split-complementary
#D27CF7 #DFF77C #7CF794
monochromatic
#A80EEA #BE42F3 #D27CF7 #E6B6FB #F5E2FD

Accessibility & contrast

On white

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

On black

7.97
#D27CF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27CF7
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27CF7#FFFFFF#000000##000000
##D27CF71.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#619AFB
Deuteranopia (green-blind)
#7BA2F4
Tritanopia (blue-blind)
#D08FAE
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d27cf7;
/* rgb */ color: rgb(210, 124, 247);
/* oklch */ color: oklch(72.6% 0.190 314.9);
Tailwind
colors: {
  custom: {
    50: '#e2a4fa',
    500: '#d27cf7',
    950: '#000000',
  },
}
SCSS
$custom: #d27cf7;
$custom-light: #e2a4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d27cf7",
  "rgb": {
    "r": 210,
    "g": 124,
    "b": 247
  },
  "hsl": {
    "h": 281.951,
    "s": 88.489,
    "l": 72.745
  },
  "oklch": {
    "l": 0.72581,
    "c": 0.18998,
    "h": 314.9
  },
  "luminance": 0.34832
}

Semantic roles & 50–950 ramp

primary
#D27CF7
secondary
#DFF5D6
accent
#E50045
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D27CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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