#D27FCC#D27FCC

#D27FCC is a light, vivid purple. Relative luminance 0.332; OKLCH L 71.0% C 0.142 H 329.6°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#D27FCC
RGBrgb(210, 127, 204)
HSLhsl(304, 48%, 66%)
HSVhsv(304, 40%, 82%)
CMYKcmyk(0%, 39.5%, 2.9%, 17.6%)
CIE-LABlab(64.36, 43.52, -26.47)
CIE-LCHlch(64.36, 50.94, 328.69°)
OKLaboklab(71.03% 0.1223 -0.0719)
OKLCHoklch(71.03% 0.142 329.6)
XYZxyz(45.0662, 33.2422, 61.1576)
Luminance0.3324 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27FCC #7FD285
analogous
#AE7FD2 #D27FCC #D27FA2
triadic
#D27FCC #CCD27F #7FCCD2
tetradic
#D27FCC #D2AE7F #7FD285 #7FA2D2
square
#D27FCC #D2AE7F #7FD285 #7FA2D2
split-complementary
#D27FCC #A2D27F #7FD2AE
monochromatic
#9F3897 #C252BA #D27FCC #E2ACDE #F2DAF0

Accessibility & contrast

On white

2.75
#D27FCC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#D27FCC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27FCC
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27FCC#FFFFFF#000000##000000
##D27FCC1.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B95CF
Deuteranopia (green-blind)
#91A0C9
Tritanopia (blue-blind)
#D8859C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d27fcc;
/* rgb */ color: rgb(210, 127, 204);
/* oklch */ color: oklch(71.0% 0.142 329.6);
Tailwind
colors: {
  custom: {
    50: '#e1a6db',
    500: '#d27fcc',
    950: '#000000',
  },
}
SCSS
$custom: #d27fcc;
$custom-light: #e1a6db;
$custom-dark: #000000;
JSON
{
  "hex": "#d27fcc",
  "rgb": {
    "r": 210,
    "g": 127,
    "b": 204
  },
  "hsl": {
    "h": 304.337,
    "s": 47.977,
    "l": 66.078
  },
  "oklch": {
    "l": 0.71028,
    "c": 0.14185,
    "h": 329.6
  },
  "luminance": 0.3324
}

Semantic roles & 50–950 ramp

primary
#D27FCC
secondary
#C9E4CB
accent
#BB352A
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #D27FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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