#D273EF#D273EF

#D273EF is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.9% C 0.196 H 317.8°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#D273EF
RGBrgb(210, 115, 239)
HSLhsl(286, 79%, 69%)
HSVhsv(286, 52%, 94%)
CMYKcmyk(12.1%, 51.9%, 0%, 6.3%)
CIE-LABlab(63.51, 56.27, -47.30)
CIE-LCHlch(63.51, 73.51, 319.95°)
OKLaboklab(70.89% 0.1451 -0.1315)
OKLCHoklch(70.89% 0.196 317.8)
XYZxyz(48.2869, 32.1968, 85.3157)
Luminance0.3220 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D273EF #90EF73
analogous
#9473EF #D273EF #EF73CE
triadic
#D273EF #EFD273 #73EFD2
tetradic
#D273EF #EF9473 #90EF73 #73CEEF
square
#D273EF #EF9473 #90EF73 #73CEEF
split-complementary
#D273EF #CEEF73 #73EF94
monochromatic
#A518D0 #C03CE9 #D273EF #E4AAF5 #F5E1FC

Accessibility & contrast

On white

2.82
#D273EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#D273EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D273EF
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D273EF#FFFFFF#000000##000000
##D273EF1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A94F3
Deuteranopia (green-blind)
#789DEC
Tritanopia (blue-blind)
#D285A7
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d273ef;
/* rgb */ color: rgb(210, 115, 239);
/* oklch */ color: oklch(70.9% 0.196 317.8);
Tailwind
colors: {
  custom: {
    50: '#e29ff5',
    500: '#d273ef',
    950: '#000000',
  },
}
SCSS
$custom: #d273ef;
$custom-light: #e29ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#d273ef",
  "rgb": {
    "r": 210,
    "g": 115,
    "b": 239
  },
  "hsl": {
    "h": 285.968,
    "s": 79.487,
    "l": 69.412
  },
  "oklch": {
    "l": 0.70893,
    "c": 0.1958,
    "h": 317.8
  },
  "luminance": 0.32195
}

Semantic roles & 50–950 ramp

primary
#D273EF
secondary
#D5F1CD
accent
#DC0A3B
background
#FEFAFF
surface
#FCF3FE
border
#D5CDD6
text
#160F17
muted
#847F85

Preview Lab

Preview with #D273EF

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

Preview Lab → · Contrast checker → · Palette generator →

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