#D273CC#D273CC

#D273CC is a light, vivid purple. Relative luminance 0.303; OKLCH L 69.2% C 0.162 H 329.5°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#D273CC
RGBrgb(210, 115, 204)
HSLhsl(304, 51%, 64%)
HSVhsv(304, 45%, 82%)
CMYKcmyk(0%, 45.2%, 2.9%, 17.6%)
CIE-LABlab(61.93, 49.72, -30.21)
CIE-LCHlch(61.93, 58.17, 328.72°)
OKLaboklab(69.22% 0.1398 -0.0824)
OKLCHoklch(69.22% 0.162 329.5)
XYZxyz(43.6076, 30.3251, 60.6714)
Luminance0.3032 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D273CC #73D279
analogous
#A873D2 #D273CC #D2739C
triadic
#D273CC #CCD273 #73CCD2
tetradic
#D273CC #D2A873 #73D279 #739CD2
square
#D273CC #D2A873 #73D279 #739CD2
split-complementary
#D273CC #9CD273 #73D2A8
monochromatic
#993193 #C345BB #D273CC #E1A1DD #F0D0EE

Accessibility & contrast

On white

2.97
#D273CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#D273CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D273CC
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D273CC#FFFFFF#000000##000000
##D273CC1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8ECF
Deuteranopia (green-blind)
#889AC9
Tritanopia (blue-blind)
#D87B96
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d273cc;
/* rgb */ color: rgb(210, 115, 204);
/* oklch */ color: oklch(69.2% 0.162 329.5);
Tailwind
colors: {
  custom: {
    50: '#e29edb',
    500: '#d273cc',
    950: '#000000',
  },
}
SCSS
$custom: #d273cc;
$custom-light: #e29edb;
$custom-dark: #000000;
JSON
{
  "hex": "#d273cc",
  "rgb": {
    "r": 210,
    "g": 115,
    "b": 204
  },
  "hsl": {
    "h": 303.789,
    "s": 51.351,
    "l": 63.725
  },
  "oklch": {
    "l": 0.69215,
    "c": 0.16229,
    "h": 329.5
  },
  "luminance": 0.30323
}

Semantic roles & 50–950 ramp

primary
#D273CC
secondary
#C0E1C2
accent
#BF3027
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160F15
muted
#847E83

Preview Lab

Preview with #D273CC

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

Preview Lab → · Contrast checker → · Palette generator →

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