#D27CFE#D27CFE

#D27CFE is a light, vivid violet. Relative luminance 0.353; OKLCH L 72.9% C 0.197 H 313.0°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#D27CFE
RGBrgb(210, 124, 254)
HSLhsl(280, 98%, 74%)
HSVhsv(280, 51%, 100%)
CMYKcmyk(17.3%, 51.2%, 0%, 0.4%)
CIE-LABlab(65.96, 54.80, -51.68)
CIE-LCHlch(65.96, 75.32, 316.68°)
OKLaboklab(72.95% 0.1347 -0.1443)
OKLCHoklch(72.95% 0.197 313)
XYZxyz(51.6723, 35.2740, 97.8333)
Luminance0.3527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27CFE #A8FE7C
analogous
#917CFE #D27CFE #FE7CE9
triadic
#D27CFE #FED27C #7CFED2
tetradic
#D27CFE #FE917C #A8FE7C #7CE9FE
square
#D27CFE #FE917C #A8FE7C #7CE9FE
split-complementary
#D27CFE #E9FE7C #7CFE91
monochromatic
#A803FD #BD3FFE #D27CFE #E7B9FE #F5E1FF

Accessibility & contrast

On white

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

On black

8.05
#D27CFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27CFE
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27CFE#FFFFFF#000000##000000
##D27CFE1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9CFF
Deuteranopia (green-blind)
#77A2FB
Tritanopia (blue-blind)
#CE91B2
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d27cfe;
/* rgb */ color: rgb(210, 124, 254);
/* oklch */ color: oklch(72.9% 0.197 313.0);
Tailwind
colors: {
  custom: {
    50: '#e2a5ff',
    500: '#d27cfe',
    950: '#000000',
  },
}
SCSS
$custom: #d27cfe;
$custom-light: #e2a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d27cfe",
  "rgb": {
    "r": 210,
    "g": 124,
    "b": 254
  },
  "hsl": {
    "h": 279.692,
    "s": 98.485,
    "l": 74.118
  },
  "oklch": {
    "l": 0.72945,
    "c": 0.19736,
    "h": 313
  },
  "luminance": 0.35273
}

Semantic roles & 50–950 ramp

primary
#D27CFE
secondary
#E0F7D4
accent
#E6004E
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D27CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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