#D273EA#D273EA

#D273EA is a light, vivid purple. Relative luminance 0.319; OKLCH L 70.6% C 0.191 H 319.2°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#D273EA
RGBrgb(210, 115, 234)
HSLhsl(288, 74%, 68%)
HSVhsv(288, 51%, 92%)
CMYKcmyk(10.3%, 50.9%, 0%, 8.2%)
CIE-LABlab(63.26, 55.29, -44.91)
CIE-LCHlch(63.26, 71.23, 320.91°)
OKLaboklab(70.64% 0.1445 -0.1246)
OKLCHoklch(70.64% 0.191 319.2)
XYZxyz(47.5584, 31.9054, 81.4791)
Luminance0.3190 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D273EA #8BEA73
analogous
#9673EA #D273EA #EA73C6
triadic
#D273EA #EAD273 #73EAD2
tetradic
#D273EA #EA9673 #8BEA73 #73C6EA
square
#D273EA #EA9673 #8BEA73 #73C6EA
split-complementary
#D273EA #C6EA73 #73EA96
monochromatic
#A31EC5 #C13EE2 #D273EA #E3A8F2 #F4DDFA

Accessibility & contrast

On white

2.85
#D273EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#D273EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D273EA
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D273EA#FFFFFF#000000##000000
##D273EA1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D93EE
Deuteranopia (green-blind)
#7B9DE7
Tritanopia (blue-blind)
#D384A4
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d273ea;
/* rgb */ color: rgb(210, 115, 234);
/* oklch */ color: oklch(70.6% 0.191 319.2);
Tailwind
colors: {
  custom: {
    50: '#e29ef1',
    500: '#d273ea',
    950: '#000000',
  },
}
SCSS
$custom: #d273ea;
$custom-light: #e29ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#d273ea",
  "rgb": {
    "r": 210,
    "g": 115,
    "b": 234
  },
  "hsl": {
    "h": 287.899,
    "s": 73.913,
    "l": 68.431
  },
  "oklch": {
    "l": 0.70637,
    "c": 0.19081,
    "h": 319.2
  },
  "luminance": 0.31904
}

Semantic roles & 50–950 ramp

primary
#D273EA
secondary
#D2EECA
accent
#D60F38
background
#FEFAFE
surface
#FCF3FD
border
#D5CDD5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D273EA

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

Preview Lab → · Contrast checker → · Palette generator →

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