#D273E8#D273E8

#D273E8 is a light, vivid purple. Relative luminance 0.318; OKLCH L 70.5% C 0.189 H 319.8°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#D273E8
RGBrgb(210, 115, 232)
HSLhsl(289, 72%, 68%)
HSVhsv(289, 50%, 91%)
CMYKcmyk(9.5%, 50.4%, 0%, 9%)
CIE-LABlab(63.17, 54.90, -43.95)
CIE-LCHlch(63.17, 70.33, 321.32°)
OKLaboklab(70.54% 0.1443 -0.1218)
OKLCHoklch(70.54% 0.189 319.8)
XYZxyz(47.2727, 31.7912, 79.9745)
Luminance0.3179 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D273E8 #89E873
analogous
#9773E8 #D273E8 #E873C3
triadic
#D273E8 #E8D273 #73E8D2
tetradic
#D273E8 #E89773 #89E873 #73C3E8
square
#D273E8 #E89773 #89E873 #73C3E8
split-complementary
#D273E8 #C3E873 #73E897
monochromatic
#A320C1 #C13EDF #D273E8 #E3A8F1 #F4DCF9

Accessibility & contrast

On white

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

On black

7.36
#D273E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D273E8
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D273E8#FFFFFF#000000##000000
##D273E81.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F92EC
Deuteranopia (green-blind)
#7C9CE5
Tritanopia (blue-blind)
#D383A3
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d273e8;
/* rgb */ color: rgb(210, 115, 232);
/* oklch */ color: oklch(70.5% 0.189 319.8);
Tailwind
colors: {
  custom: {
    50: '#e29ef0',
    500: '#d273e8',
    950: '#000000',
  },
}
SCSS
$custom: #d273e8;
$custom-light: #e29ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#d273e8",
  "rgb": {
    "r": 210,
    "g": 115,
    "b": 232
  },
  "hsl": {
    "h": 288.718,
    "s": 71.779,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70536,
    "c": 0.18883,
    "h": 319.8
  },
  "luminance": 0.31789
}

Semantic roles & 50–950 ramp

primary
#D273E8
secondary
#D0EDCA
accent
#D41236
background
#FEFAFE
surface
#FCF3FD
border
#D5CDD5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D273E8

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

Preview Lab → · Contrast checker → · Palette generator →

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