#D27CFF#D27CFF

#D27CFF is a light, vivid violet. Relative luminance 0.353; OKLCH L 73.0% C 0.198 H 312.8°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#D27CFF
RGBrgb(210, 124, 255)
HSLhsl(279, 100%, 74%)
HSVhsv(279, 51%, 100%)
CMYKcmyk(17.6%, 51.4%, 0%, 0%)
CIE-LABlab(66.01, 55.00, -52.15)
CIE-LCHlch(66.01, 75.79, 316.53°)
OKLaboklab(73% 0.1348 -0.1456)
OKLCHoklch(73% 0.198 312.8)
XYZxyz(51.8329, 35.3382, 98.6788)
Luminance0.3534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27CFF #A9FF7C
analogous
#917CFF #D27CFF #FF7CEB
triadic
#D27CFF #FFD27C #7CFFD2
tetradic
#D27CFF #FF917C #A9FF7C #7CEBFF
square
#D27CFF #FF917C #A9FF7C #7CEBFF
split-complementary
#D27CFF #EBFF7C #7CFF91
monochromatic
#A802FF #BD3FFF #D27CFF #E7B9FF #F4E0FF

Accessibility & contrast

On white

2.60
#D27CFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#D27CFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27CFF
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27CFF#FFFFFF#000000##000000
##D27CFF1.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9CFF
Deuteranopia (green-blind)
#76A2FC
Tritanopia (blue-blind)
#CE91B2
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d27cff;
/* rgb */ color: rgb(210, 124, 255);
/* oklch */ color: oklch(73.0% 0.198 312.8);
Tailwind
colors: {
  custom: {
    50: '#e2a5ff',
    500: '#d27cff',
    950: '#000000',
  },
}
SCSS
$custom: #d27cff;
$custom-light: #e2a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d27cff",
  "rgb": {
    "r": 210,
    "g": 124,
    "b": 255
  },
  "hsl": {
    "h": 279.389,
    "s": 100,
    "l": 74.314
  },
  "oklch": {
    "l": 0.72998,
    "c": 0.19843,
    "h": 312.8
  },
  "luminance": 0.35337
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D27CFF

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

Preview Lab → · Contrast checker → · Palette generator →

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