#D273EE#D273EE

#D273EE is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.8% C 0.195 H 318.1°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#D273EE
RGBrgb(210, 115, 238)
HSLhsl(286, 78%, 69%)
HSVhsv(286, 52%, 93%)
CMYKcmyk(11.8%, 51.7%, 0%, 6.7%)
CIE-LABlab(63.46, 56.07, -46.83)
CIE-LCHlch(63.46, 73.05, 320.13°)
OKLaboklab(70.84% 0.145 -0.1301)
OKLCHoklch(70.84% 0.195 318.1)
XYZxyz(48.1396, 32.1379, 84.5398)
Luminance0.3214 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D273EE #8FEE73
analogous
#9573EE #D273EE #EE73CD
triadic
#D273EE #EED273 #73EED2
tetradic
#D273EE #EE9573 #8FEE73 #73CDEE
square
#D273EE #EE9573 #8FEE73 #73CDEE
split-complementary
#D273EE #CDEE73 #73EE95
monochromatic
#A519CE #C03CE7 #D273EE #E4AAF5 #F5E0FB

Accessibility & contrast

On white

2.83
#D273EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#D273EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D273EE
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D273EE#FFFFFF#000000##000000
##D273EE1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B93F2
Deuteranopia (green-blind)
#789DEB
Tritanopia (blue-blind)
#D285A6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d273ee;
/* rgb */ color: rgb(210, 115, 238);
/* oklch */ color: oklch(70.8% 0.195 318.1);
Tailwind
colors: {
  custom: {
    50: '#e29ff4',
    500: '#d273ee',
    950: '#000000',
  },
}
SCSS
$custom: #d273ee;
$custom-light: #e29ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#d273ee",
  "rgb": {
    "r": 210,
    "g": 115,
    "b": 238
  },
  "hsl": {
    "h": 286.341,
    "s": 78.344,
    "l": 69.216
  },
  "oklch": {
    "l": 0.70841,
    "c": 0.1948,
    "h": 318.1
  },
  "luminance": 0.32136
}

Semantic roles & 50–950 ramp

primary
#D273EE
secondary
#D5F0CD
accent
#DB0B3A
background
#FEFAFE
surface
#FCF3FD
border
#D5CDD5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D273EE

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

Preview Lab → · Contrast checker → · Palette generator →

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