#D274ED#D274ED

#D274ED is a light, vivid purple. Relative luminance 0.323; OKLCH L 70.9% C 0.192 H 318.3°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#D274ED
RGBrgb(210, 116, 237)
HSLhsl(287, 77%, 69%)
HSVhsv(287, 51%, 93%)
CMYKcmyk(11.4%, 51.1%, 0%, 7.1%)
CIE-LABlab(63.60, 55.38, -46.05)
CIE-LCHlch(63.60, 72.03, 320.25°)
OKLaboklab(70.93% 0.1435 -0.1279)
OKLCHoklch(70.93% 0.192 318.3)
XYZxyz(48.1077, 32.3086, 83.8064)
Luminance0.3231 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D274ED #8FED74
analogous
#9674ED #D274ED #ED74CB
triadic
#D274ED #EDD274 #74EDD2
tetradic
#D274ED #ED9674 #8FED74 #74CBED
square
#D274ED #ED9674 #8FED74 #74CBED
split-complementary
#D274ED #CBED74 #74ED96
monochromatic
#A51ACC #C03EE6 #D274ED #E4AAF4 #F5E0FB

Accessibility & contrast

On white

2.81
#D274ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#D274ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D274ED
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D274ED#FFFFFF#000000##000000
##D274ED1.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D94F1
Deuteranopia (green-blind)
#7A9DEA
Tritanopia (blue-blind)
#D286A6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d274ed;
/* rgb */ color: rgb(210, 116, 237);
/* oklch */ color: oklch(70.9% 0.192 318.3);
Tailwind
colors: {
  custom: {
    50: '#e29ff3',
    500: '#d274ed',
    950: '#000000',
  },
}
SCSS
$custom: #d274ed;
$custom-light: #e29ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#d274ed",
  "rgb": {
    "r": 210,
    "g": 116,
    "b": 237
  },
  "hsl": {
    "h": 286.612,
    "s": 77.07,
    "l": 69.216
  },
  "oklch": {
    "l": 0.70929,
    "c": 0.19224,
    "h": 318.3
  },
  "luminance": 0.32307
}

Semantic roles & 50–950 ramp

primary
#D274ED
secondary
#D5F0CD
accent
#D90C3A
background
#FEFAFE
surface
#FCF3FD
border
#D5CDD5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D274ED

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

Preview Lab → · Contrast checker → · Palette generator →

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