#D273CB#D273CB

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

Color values

HEX#D273CB
RGBrgb(210, 115, 203)
HSLhsl(304, 51%, 64%)
HSVhsv(304, 45%, 82%)
CMYKcmyk(0%, 45.2%, 3.3%, 17.6%)
CIE-LABlab(61.89, 49.54, -29.71)
CIE-LCHlch(61.89, 57.76, 329.05°)
OKLaboklab(69.17% 0.1396 -0.0809)
OKLCHoklch(69.17% 0.161 329.9)
XYZxyz(43.4881, 30.2773, 60.0418)
Luminance0.3028 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D273CB #73D27A
analogous
#A973D2 #D273CB #D2739B
triadic
#D273CB #CBD273 #73CBD2
tetradic
#D273CB #D2A973 #73D27A #739BD2
square
#D273CB #D2A973 #73D27A #739BD2
split-complementary
#D273CB #9BD273 #73D2A9
monochromatic
#993192 #C345BA #D273CB #E1A1DC #F0D0ED

Accessibility & contrast

On white

2.98
#D273CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D273CB#FFFFFF#000000##000000
##D273CB1.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8DCE
Deuteranopia (green-blind)
#889AC8
Tritanopia (blue-blind)
#D87B96
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d273cb;
/* rgb */ color: rgb(210, 115, 203);
/* oklch */ color: oklch(69.2% 0.161 329.9);
Tailwind
colors: {
  custom: {
    50: '#e29edb',
    500: '#d273cb',
    950: '#000000',
  },
}
SCSS
$custom: #d273cb;
$custom-light: #e29edb;
$custom-dark: #000000;
JSON
{
  "hex": "#d273cb",
  "rgb": {
    "r": 210,
    "g": 115,
    "b": 203
  },
  "hsl": {
    "h": 304.421,
    "s": 51.351,
    "l": 63.725
  },
  "oklch": {
    "l": 0.69171,
    "c": 0.16138,
    "h": 329.9
  },
  "luminance": 0.30275
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D273CB

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

Preview Lab → · Contrast checker → · Palette generator →

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