#D27CFA#D27CFA

#D27CFA is a light, vivid purple. Relative luminance 0.350; OKLCH L 72.7% C 0.193 H 314.1°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#D27CFA
RGBrgb(210, 124, 250)
HSLhsl(281, 93%, 73%)
HSVhsv(281, 50%, 98%)
CMYKcmyk(16%, 50.4%, 0%, 2%)
CIE-LABlab(65.76, 53.97, -49.80)
CIE-LCHlch(65.76, 73.43, 317.30°)
OKLaboklab(72.74% 0.1343 -0.1388)
OKLCHoklch(72.74% 0.193 314.1)
XYZxyz(51.0385, 35.0204, 94.4950)
Luminance0.3502 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27CFA #A4FA7C
analogous
#937CFA #D27CFA #FA7CE3
triadic
#D27CFA #FAD27C #7CFAD2
tetradic
#D27CFA #FA937C #A4FA7C #7CE3FA
square
#D27CFA #FA937C #A4FA7C #7CE3FA
split-complementary
#D27CFA #E3FA7C #7CFA93
monochromatic
#A809F2 #BE41F8 #D27CFA #E6B7FC #F5E2FE

Accessibility & contrast

On white

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

On black

8.00
#D27CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27CFA
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27CFA#FFFFFF#000000##000000
##D27CFA1.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d27cfa;
/* rgb */ color: rgb(210, 124, 250);
/* oklch */ color: oklch(72.7% 0.193 314.1);
Tailwind
colors: {
  custom: {
    50: '#e2a4fc',
    500: '#d27cfa',
    950: '#000000',
  },
}
SCSS
$custom: #d27cfa;
$custom-light: #e2a4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d27cfa",
  "rgb": {
    "r": 210,
    "g": 124,
    "b": 250
  },
  "hsl": {
    "h": 280.952,
    "s": 92.647,
    "l": 73.333
  },
  "oklch": {
    "l": 0.72736,
    "c": 0.19314,
    "h": 314.1
  },
  "luminance": 0.35019
}

Semantic roles & 50–950 ramp

primary
#D27CFA
secondary
#DFF6D5
accent
#E60049
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D27CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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