#D274DD#D274DD

#D274DD is a light, vivid purple. Relative luminance 0.314; OKLCH L 70.1% C 0.176 H 323.3°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#D274DD
RGBrgb(210, 116, 221)
HSLhsl(294, 61%, 66%)
HSVhsv(294, 48%, 87%)
CMYKcmyk(5%, 47.5%, 0%, 13.3%)
CIE-LABlab(62.86, 52.31, -38.32)
CIE-LCHlch(62.86, 64.84, 323.78°)
OKLaboklab(70.14% 0.1414 -0.1055)
OKLCHoklch(70.14% 0.176 323.3)
XYZxyz(45.8736, 31.4149, 72.0399)
Luminance0.3141 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D274DD #7FDD74
analogous
#9D74DD #D274DD #DD74B3
triadic
#D274DD #DDD274 #74DDD2
tetradic
#D274DD #DD9D74 #7FDD74 #74B3DD
square
#D274DD #DD9D74 #7FDD74 #74B3DD
split-complementary
#D274DD #B3DD74 #74DD9D
monochromatic
#9F2AAC #C243D1 #D274DD #E2A5E9 #F2D6F5

Accessibility & contrast

On white

2.88
#D274DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#D274DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D274DD
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D274DD#FFFFFF#000000##000000
##D274DD1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6691E1
Deuteranopia (green-blind)
#829CDA
Tritanopia (blue-blind)
#D5819E
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d274dd;
/* rgb */ color: rgb(210, 116, 221);
/* oklch */ color: oklch(70.1% 0.176 323.3);
Tailwind
colors: {
  custom: {
    50: '#e29fe8',
    500: '#d274dd',
    950: '#000000',
  },
}
SCSS
$custom: #d274dd;
$custom-light: #e29fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#d274dd",
  "rgb": {
    "r": 210,
    "g": 116,
    "b": 221
  },
  "hsl": {
    "h": 293.714,
    "s": 60.694,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70139,
    "c": 0.17648,
    "h": 323.3
  },
  "luminance": 0.31413
}

Semantic roles & 50–950 ramp

primary
#D274DD
secondary
#C9E8C5
accent
#C81D2F
background
#FEFAFE
surface
#FCF3FC
border
#D5CDD5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D274DD

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

Preview Lab → · Contrast checker → · Palette generator →

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