#D27DFB#D27DFB

#D27DFB is a light, vivid purple. Relative luminance 0.353; OKLCH L 72.9% C 0.193 H 313.7°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#D27DFB
RGBrgb(210, 125, 251)
HSLhsl(280, 94%, 74%)
HSVhsv(280, 50%, 98%)
CMYKcmyk(16.3%, 50.2%, 0%, 1.6%)
CIE-LABlab(66.01, 53.67, -49.96)
CIE-LCHlch(66.01, 73.32, 317.05°)
OKLaboklab(72.93% 0.1331 -0.1393)
OKLCHoklch(72.93% 0.193 313.7)
XYZxyz(51.3217, 35.3352, 95.3649)
Luminance0.3533 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27DFB #A6FB7D
analogous
#937DFB #D27DFB #FB7DE5
triadic
#D27DFB #FBD27D #7DFBD2
tetradic
#D27DFB #FB937D #A6FB7D #7DE5FB
square
#D27DFB #FB937D #A6FB7D #7DE5FB
split-complementary
#D27DFB #E5FB7D #7DFB93
monochromatic
#A808F6 #BD42F9 #D27DFB #E7B8FD #F5E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D27DFB#FFFFFF#000000##000000
##D27DFB1.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)
#609CFF
Deuteranopia (green-blind)
#7AA3F8
Tritanopia (blue-blind)
#CF91B1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d27dfb;
/* rgb */ color: rgb(210, 125, 251);
/* oklch */ color: oklch(72.9% 0.193 313.7);
Tailwind
colors: {
  custom: {
    50: '#e2a5fd',
    500: '#d27dfb',
    950: '#000000',
  },
}
SCSS
$custom: #d27dfb;
$custom-light: #e2a5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d27dfb",
  "rgb": {
    "r": 210,
    "g": 125,
    "b": 251
  },
  "hsl": {
    "h": 280.476,
    "s": 94.03,
    "l": 73.725
  },
  "oklch": {
    "l": 0.72932,
    "c": 0.19264,
    "h": 313.7
  },
  "luminance": 0.35334
}

Semantic roles & 50–950 ramp

primary
#D27DFB
secondary
#E0F6D5
accent
#E6004B
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D27DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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