#D27DFD#D27DFD

#D27DFD is a light, vivid violet. Relative luminance 0.355; OKLCH L 73.0% C 0.195 H 313.2°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#D27DFD
RGBrgb(210, 125, 253)
HSLhsl(280, 97%, 74%)
HSVhsv(280, 51%, 99%)
CMYKcmyk(17%, 50.6%, 0%, 0.8%)
CIE-LABlab(66.11, 54.08, -50.90)
CIE-LCHlch(66.11, 74.27, 316.73°)
OKLaboklab(73.04% 0.1333 -0.142)
OKLCHoklch(73.04% 0.195 313.2)
XYZxyz(51.6386, 35.4620, 97.0341)
Luminance0.3546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27DFD #A8FD7D
analogous
#927DFD #D27DFD #FD7DE8
triadic
#D27DFD #FDD27D #7DFDD2
tetradic
#D27DFD #FD927D #A8FD7D #7DE8FD
square
#D27DFD #FD927D #A8FD7D #7DE8FD
split-complementary
#D27DFD #E8FD7D #7DFD92
monochromatic
#A804FB #BD41FC #D27DFD #E7B9FE #F5E1FF

Accessibility & contrast

On white

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

On black

8.09
#D27DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27DFD
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27DFD#FFFFFF#000000##000000
##D27DFD1.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9CFF
Deuteranopia (green-blind)
#78A3FA
Tritanopia (blue-blind)
#CE92B2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d27dfd;
/* rgb */ color: rgb(210, 125, 253);
/* oklch */ color: oklch(73.0% 0.195 313.2);
Tailwind
colors: {
  custom: {
    50: '#e2a5fe',
    500: '#d27dfd',
    950: '#000000',
  },
}
SCSS
$custom: #d27dfd;
$custom-light: #e2a5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d27dfd",
  "rgb": {
    "r": 210,
    "g": 125,
    "b": 253
  },
  "hsl": {
    "h": 279.844,
    "s": 96.97,
    "l": 74.118
  },
  "oklch": {
    "l": 0.73037,
    "c": 0.19476,
    "h": 313.2
  },
  "luminance": 0.35461
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D27DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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