#D274CA#D274CA

#D274CA is a light, vivid purple. Relative luminance 0.305; OKLCH L 69.3% C 0.159 H 330.3°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#D274CA
RGBrgb(210, 116, 202)
HSLhsl(305, 51%, 64%)
HSVhsv(305, 45%, 82%)
CMYKcmyk(0%, 44.8%, 3.8%, 17.6%)
CIE-LABlab(62.05, 48.86, -28.90)
CIE-LCHlch(62.05, 56.77, 329.39°)
OKLaboklab(69.27% 0.138 -0.0787)
OKLCHoklch(69.27% 0.159 330.3)
XYZxyz(43.4839, 30.4591, 59.4544)
Luminance0.3046 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D274CA #74D27C
analogous
#AB74D2 #D274CA #D2749B
triadic
#D274CA #CAD274 #74CAD2
tetradic
#D274CA #D2AB74 #74D27C #749BD2
square
#D274CA #D2AB74 #74D27C #749BD2
split-complementary
#D274CA #9BD274 #74D2AB
monochromatic
#9A3291 #C346B8 #D274CA #E1A2DC #F0D0ED

Accessibility & contrast

On white

2.96
#D274CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#D274CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D274CA
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D274CA#FFFFFF#000000##000000
##D274CA1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#708ECD
Deuteranopia (green-blind)
#8A9BC7
Tritanopia (blue-blind)
#D87B96
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d274ca;
/* rgb */ color: rgb(210, 116, 202);
/* oklch */ color: oklch(69.3% 0.159 330.3);
Tailwind
colors: {
  custom: {
    50: '#e29fda',
    500: '#d274ca',
    950: '#000000',
  },
}
SCSS
$custom: #d274ca;
$custom-light: #e29fda;
$custom-dark: #000000;
JSON
{
  "hex": "#d274ca",
  "rgb": {
    "r": 210,
    "g": 116,
    "b": 202
  },
  "hsl": {
    "h": 305.106,
    "s": 51.087,
    "l": 63.922
  },
  "oklch": {
    "l": 0.69273,
    "c": 0.15883,
    "h": 330.3
  },
  "luminance": 0.30457
}

Semantic roles & 50–950 ramp

primary
#D274CA
secondary
#C0E1C3
accent
#BE3427
background
#FEF9FD
surface
#FCF2FA
border
#D5CCD3
text
#160F15
muted
#847E83

Preview Lab

Preview with #D274CA

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

Preview Lab → · Contrast checker → · Palette generator →

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