#D273C8#D273C8

#D273C8 is a light, vivid purple. Relative luminance 0.301; OKLCH L 69.0% C 0.159 H 331.1°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#D273C8
RGBrgb(210, 115, 200)
HSLhsl(306, 51%, 64%)
HSVhsv(306, 45%, 82%)
CMYKcmyk(0%, 45.2%, 4.8%, 17.6%)
CIE-LABlab(61.77, 49.01, -28.20)
CIE-LCHlch(61.77, 56.55, 330.08°)
OKLaboklab(69.04% 0.139 -0.0767)
OKLCHoklch(69.04% 0.159 331.1)
XYZxyz(43.1340, 30.1357, 58.1772)
Luminance0.3013 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D273C8 #73D27D
analogous
#AC73D2 #D273C8 #D27398
triadic
#D273C8 #C8D273 #73C8D2
tetradic
#D273C8 #D2AC73 #73D27D #7398D2
square
#D273C8 #D2AC73 #73D27D #7398D2
split-complementary
#D273C8 #98D273 #73D2AC
monochromatic
#99318E #C345B6 #D273C8 #E1A1DA #F0D0EC

Accessibility & contrast

On white

2.99
#D273C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#D273C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D273C8
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D273C8#FFFFFF#000000##000000
##D273C81.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8DCB
Deuteranopia (green-blind)
#8A9AC5
Tritanopia (blue-blind)
#D97A94
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d273c8;
/* rgb */ color: rgb(210, 115, 200);
/* oklch */ color: oklch(69.0% 0.159 331.1);
Tailwind
colors: {
  custom: {
    50: '#e29ed9',
    500: '#d273c8',
    950: '#000000',
  },
}
SCSS
$custom: #d273c8;
$custom-light: #e29ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#d273c8",
  "rgb": {
    "r": 210,
    "g": 115,
    "b": 200
  },
  "hsl": {
    "h": 306.316,
    "s": 51.351,
    "l": 63.725
  },
  "oklch": {
    "l": 0.6904,
    "c": 0.15874,
    "h": 331.1
  },
  "luminance": 0.30133
}

Semantic roles & 50–950 ramp

primary
#D273C8
secondary
#C0E1C3
accent
#BF3727
background
#FEF9FD
surface
#FCF2FA
border
#D5CCD3
text
#160F14
muted
#847E83

Preview Lab

Preview with #D273C8

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

Preview Lab → · Contrast checker → · Palette generator →

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