#D27ECB#D27ECB

#D27ECB is a light, vivid purple. Relative luminance 0.329; OKLCH L 70.8% C 0.143 H 330.0°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#D27ECB
RGBrgb(210, 126, 203)
HSLhsl(305, 48%, 66%)
HSVhsv(305, 40%, 82%)
CMYKcmyk(0%, 40%, 3.3%, 17.6%)
CIE-LABlab(64.11, 43.87, -26.29)
CIE-LCHlch(64.11, 51.14, 329.07°)
OKLaboklab(70.83% 0.1235 -0.0714)
OKLCHoklch(70.83% 0.143 330)
XYZxyz(44.8181, 32.9374, 60.4851)
Luminance0.3293 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27ECB #7ED285
analogous
#AF7ED2 #D27ECB #D27EA1
triadic
#D27ECB #CBD27E #7ECBD2
tetradic
#D27ECB #D2AF7E #7ED285 #7EA1D2
square
#D27ECB #D2AF7E #7ED285 #7EA1D2
split-complementary
#D27ECB #A1D27E #7ED2AF
monochromatic
#9E3796 #C251B9 #D27ECB #E2ABDD #F2D9F0

Accessibility & contrast

On white

2.77
#D27ECB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#D27ECB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27ECB
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27ECB#FFFFFF#000000##000000
##D27ECB1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A94CE
Deuteranopia (green-blind)
#90A0C8
Tritanopia (blue-blind)
#D8849B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d27ecb;
/* rgb */ color: rgb(210, 126, 203);
/* oklch */ color: oklch(70.8% 0.143 330.0);
Tailwind
colors: {
  custom: {
    50: '#e1a5db',
    500: '#d27ecb',
    950: '#000000',
  },
}
SCSS
$custom: #d27ecb;
$custom-light: #e1a5db;
$custom-dark: #000000;
JSON
{
  "hex": "#d27ecb",
  "rgb": {
    "r": 210,
    "g": 126,
    "b": 203
  },
  "hsl": {
    "h": 305,
    "s": 48.276,
    "l": 65.882
  },
  "oklch": {
    "l": 0.7083,
    "c": 0.14267,
    "h": 330
  },
  "luminance": 0.32935
}

Semantic roles & 50–950 ramp

primary
#D27ECB
secondary
#C8E4CA
accent
#BC362A
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#150F15
muted
#847F83

Preview Lab

Preview with #D27ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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