#D27CFB#D27CFB

#D27CFB is a light, vivid purple. Relative luminance 0.351; OKLCH L 72.8% C 0.194 H 313.8°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#D27CFB
RGBrgb(210, 124, 251)
HSLhsl(281, 94%, 74%)
HSVhsv(281, 51%, 98%)
CMYKcmyk(16.3%, 50.6%, 0%, 1.6%)
CIE-LABlab(65.81, 54.18, -50.27)
CIE-LCHlch(65.81, 73.90, 317.14°)
OKLaboklab(72.79% 0.1344 -0.1402)
OKLCHoklch(72.79% 0.194 313.8)
XYZxyz(51.1957, 35.0833, 95.3229)
Luminance0.3508 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27CFB #A5FB7C
analogous
#927CFB #D27CFB #FB7CE4
triadic
#D27CFB #FBD27C #7CFBD2
tetradic
#D27CFB #FB927C #A5FB7C #7CE4FB
square
#D27CFB #FB927C #A5FB7C #7CE4FB
split-complementary
#D27CFB #E4FB7C #7CFB92
monochromatic
#A807F5 #BE41F9 #D27CFB #E6B7FD #F5E1FE

Accessibility & contrast

On white

2.62
#D27CFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#D27CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27CFB
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27CFB#FFFFFF#000000##000000
##D27CFB1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9BFF
Deuteranopia (green-blind)
#79A2F8
Tritanopia (blue-blind)
#CF90B0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d27cfb;
/* rgb */ color: rgb(210, 124, 251);
/* oklch */ color: oklch(72.8% 0.194 313.8);
Tailwind
colors: {
  custom: {
    50: '#e2a4fd',
    500: '#d27cfb',
    950: '#000000',
  },
}
SCSS
$custom: #d27cfb;
$custom-light: #e2a4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d27cfb",
  "rgb": {
    "r": 210,
    "g": 124,
    "b": 251
  },
  "hsl": {
    "h": 280.63,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.72788,
    "c": 0.19419,
    "h": 313.8
  },
  "luminance": 0.35082
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D27CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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