#D273EC#D273EC

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

Color values

HEX#D273EC
RGBrgb(210, 115, 236)
HSLhsl(287, 76%, 69%)
HSVhsv(287, 51%, 93%)
CMYKcmyk(11%, 51.3%, 0%, 7.5%)
CIE-LABlab(63.36, 55.68, -45.87)
CIE-LCHlch(63.36, 72.14, 320.52°)
OKLaboklab(70.74% 0.1448 -0.1273)
OKLCHoklch(70.74% 0.193 318.7)
XYZxyz(47.8474, 32.0210, 83.0009)
Luminance0.3202 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D273EC #8DEC73
analogous
#9673EC #D273EC #EC73CA
triadic
#D273EC #ECD273 #73ECD2
tetradic
#D273EC #EC9673 #8DEC73 #73CAEC
square
#D273EC #EC9673 #8DEC73 #73CAEC
split-complementary
#D273EC #CAEC73 #73EC96
monochromatic
#A41BC9 #C13DE5 #D273EC #E3A9F3 #F5DFFB

Accessibility & contrast

On white

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

On black

7.40
#D273EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D273EC
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D273EC#FFFFFF#000000##000000
##D273EC1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C93F0
Deuteranopia (green-blind)
#7A9DE9
Tritanopia (blue-blind)
#D285A5
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d273ec;
/* rgb */ color: rgb(210, 115, 236);
/* oklch */ color: oklch(70.7% 0.193 318.7);
Tailwind
colors: {
  custom: {
    50: '#e29ff2',
    500: '#d273ec',
    950: '#000000',
  },
}
SCSS
$custom: #d273ec;
$custom-light: #e29ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#d273ec",
  "rgb": {
    "r": 210,
    "g": 115,
    "b": 236
  },
  "hsl": {
    "h": 287.107,
    "s": 76.101,
    "l": 68.824
  },
  "oklch": {
    "l": 0.70739,
    "c": 0.1928,
    "h": 318.7
  },
  "luminance": 0.32019
}

Semantic roles & 50–950 ramp

primary
#D273EC
secondary
#D3EFCC
accent
#D80D39
background
#FEFAFE
surface
#FCF3FD
border
#D5CDD5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D273EC

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

Preview Lab → · Contrast checker → · Palette generator →

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