#D273ED#D273ED

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

Color values

HEX#D273ED
RGBrgb(210, 115, 237)
HSLhsl(287, 77%, 69%)
HSVhsv(287, 51%, 93%)
CMYKcmyk(11.4%, 51.5%, 0%, 7.1%)
CIE-LABlab(63.41, 55.88, -46.35)
CIE-LCHlch(63.41, 72.60, 320.32°)
OKLaboklab(70.79% 0.1449 -0.1287)
OKLCHoklch(70.79% 0.194 318.4)
XYZxyz(47.9931, 32.0793, 83.7682)
Luminance0.3208 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D273ED #8EED73
analogous
#9573ED #D273ED #ED73CB
triadic
#D273ED #EDD273 #73EDD2
tetradic
#D273ED #ED9573 #8EED73 #73CBED
square
#D273ED #ED9573 #8EED73 #73CBED
split-complementary
#D273ED #CBED73 #73ED95
monochromatic
#A41ACB #C13DE6 #D273ED #E3A9F4 #F5DFFB

Accessibility & contrast

On white

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

On black

7.42
#D273ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D273ED
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D273ED#FFFFFF#000000##000000
##D273ED1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B93F1
Deuteranopia (green-blind)
#799DEA
Tritanopia (blue-blind)
#D285A6
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d273ed;
/* rgb */ color: rgb(210, 115, 237);
/* oklch */ color: oklch(70.8% 0.194 318.4);
Tailwind
colors: {
  custom: {
    50: '#e29ff3',
    500: '#d273ed',
    950: '#000000',
  },
}
SCSS
$custom: #d273ed;
$custom-light: #e29ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#d273ed",
  "rgb": {
    "r": 210,
    "g": 115,
    "b": 237
  },
  "hsl": {
    "h": 286.721,
    "s": 77.215,
    "l": 69.02
  },
  "oklch": {
    "l": 0.7079,
    "c": 0.19381,
    "h": 318.4
  },
  "luminance": 0.32078
}

Semantic roles & 50–950 ramp

primary
#D273ED
secondary
#D4F0CC
accent
#D90C3A
background
#FEFAFE
surface
#FCF3FD
border
#D5CDD5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D273ED

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

Preview Lab → · Contrast checker → · Palette generator →

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