#D27BE3#D27BE3

#D27BE3 is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.4% C 0.171 H 320.9°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#D27BE3
RGBrgb(210, 123, 227)
HSLhsl(290, 65%, 69%)
HSVhsv(290, 46%, 89%)
CMYKcmyk(7.5%, 45.8%, 0%, 11%)
CIE-LABlab(64.50, 49.89, -39.09)
CIE-LCHlch(64.50, 63.38, 321.92°)
OKLaboklab(71.45% 0.1327 -0.1078)
OKLCHoklch(71.45% 0.171 320.9)
XYZxyz(47.5248, 33.4154, 76.6046)
Luminance0.3341 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27BE3 #8CE37B
analogous
#9E7BE3 #D27BE3 #E37BC0
triadic
#D27BE3 #E3D27B #7BE3D2
tetradic
#D27BE3 #E39E7B #8CE37B #7BC0E3
square
#D27BE3 #E39E7B #8CE37B #7BC0E3
split-complementary
#D27BE3 #C0E37B #7BE39E
monochromatic
#A428BC #C149D8 #D27BE3 #E3ADEE #F4E0F8

Accessibility & contrast

On white

2.73
#D27BE3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#D27BE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27BE3
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27BE3#FFFFFF#000000##000000
##D27BE31.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C96E7
Deuteranopia (green-blind)
#84A0E0
Tritanopia (blue-blind)
#D488A4
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d27be3;
/* rgb */ color: rgb(210, 123, 227);
/* oklch */ color: oklch(71.4% 0.171 320.9);
Tailwind
colors: {
  custom: {
    50: '#e2a3ec',
    500: '#d27be3',
    950: '#000000',
  },
}
SCSS
$custom: #d27be3;
$custom-light: #e2a3ec;
$custom-dark: #000000;
JSON
{
  "hex": "#d27be3",
  "rgb": {
    "r": 210,
    "g": 123,
    "b": 227
  },
  "hsl": {
    "h": 290.192,
    "s": 65,
    "l": 68.627
  },
  "oklch": {
    "l": 0.71445,
    "c": 0.17095,
    "h": 320.9
  },
  "luminance": 0.33414
}

Semantic roles & 50–950 ramp

primary
#D27BE3
secondary
#D2ECCD
accent
#CD1936
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D27BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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