#D27BEC#D27BEC

#D27BEC is a light, vivid purple. Relative luminance 0.339; OKLCH L 71.9% C 0.180 H 318.1°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#D27BEC
RGBrgb(210, 123, 236)
HSLhsl(286, 75%, 70%)
HSVhsv(286, 48%, 93%)
CMYKcmyk(11%, 47.9%, 0%, 7.5%)
CIE-LABlab(64.90, 51.65, -43.44)
CIE-LCHlch(64.90, 67.49, 319.93°)
OKLaboklab(71.88% 0.134 -0.1204)
OKLCHoklch(71.88% 0.18 318.1)
XYZxyz(48.7995, 33.9253, 83.3183)
Luminance0.3392 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27BEC #95EC7B
analogous
#9A7BEC #D27BEC #EC7BCD
triadic
#D27BEC #ECD27B #7BECD2
tetradic
#D27BEC #EC9A7B #95EC7B #7BCDEC
square
#D27BEC #EC9A7B #95EC7B #7BCDEC
split-complementary
#D27BEC #CDEC7B #7BEC9A
monochromatic
#A61ECF #C046E4 #D27BEC #E4B0F4 #F6E4FB

Accessibility & contrast

On white

2.70
#D27BEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#D27BEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27BEC
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27BEC#FFFFFF#000000##000000
##D27BEC1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6798F0
Deuteranopia (green-blind)
#80A0E9
Tritanopia (blue-blind)
#D28BA9
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d27bec;
/* rgb */ color: rgb(210, 123, 236);
/* oklch */ color: oklch(71.9% 0.180 318.1);
Tailwind
colors: {
  custom: {
    50: '#e2a4f2',
    500: '#d27bec',
    950: '#000000',
  },
}
SCSS
$custom: #d27bec;
$custom-light: #e2a4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d27bec",
  "rgb": {
    "r": 210,
    "g": 123,
    "b": 236
  },
  "hsl": {
    "h": 286.195,
    "s": 74.834,
    "l": 70.392
  },
  "oklch": {
    "l": 0.71881,
    "c": 0.18012,
    "h": 318.1
  },
  "luminance": 0.33924
}

Semantic roles & 50–950 ramp

primary
#D27BEC
secondary
#D9F1D2
accent
#D70F3D
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D27BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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