#D273EB#D273EB

#D273EB is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.7% C 0.192 H 319.0°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#D273EB
RGBrgb(210, 115, 235)
HSLhsl(288, 75%, 69%)
HSVhsv(288, 51%, 92%)
CMYKcmyk(10.6%, 51.1%, 0%, 7.8%)
CIE-LABlab(63.31, 55.48, -45.39)
CIE-LCHlch(63.31, 71.69, 320.71°)
OKLaboklab(70.69% 0.1447 -0.126)
OKLCHoklch(70.69% 0.192 319)
XYZxyz(47.7025, 31.9631, 82.2379)
Luminance0.3196 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D273EB #8CEB73
analogous
#9673EB #D273EB #EB73C8
triadic
#D273EB #EBD273 #73EBD2
tetradic
#D273EB #EB9673 #8CEB73 #73C8EB
square
#D273EB #EB9673 #8CEB73 #73C8EB
split-complementary
#D273EB #C8EB73 #73EB96
monochromatic
#A41CC7 #C13DE3 #D273EB #E3A9F3 #F4DEFA

Accessibility & contrast

On white

2.84
#D273EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#D273EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D273EB
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D273EB#FFFFFF#000000##000000
##D273EB1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D93EF
Deuteranopia (green-blind)
#7A9DE8
Tritanopia (blue-blind)
#D284A5
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d273eb;
/* rgb */ color: rgb(210, 115, 235);
/* oklch */ color: oklch(70.7% 0.192 319.0);
Tailwind
colors: {
  custom: {
    50: '#e29ff2',
    500: '#d273eb',
    950: '#000000',
  },
}
SCSS
$custom: #d273eb;
$custom-light: #e29ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#d273eb",
  "rgb": {
    "r": 210,
    "g": 115,
    "b": 235
  },
  "hsl": {
    "h": 287.5,
    "s": 75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.70688,
    "c": 0.19181,
    "h": 319
  },
  "luminance": 0.31961
}

Semantic roles & 50–950 ramp

primary
#D273EB
secondary
#D2EFCB
accent
#D70E38
background
#FEFAFE
surface
#FCF3FD
border
#D5CDD5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D273EB

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

Preview Lab → · Contrast checker → · Palette generator →

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