#D274EA#D274EA

#D274EA is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.8% C 0.189 H 319.2°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#D274EA
RGBrgb(210, 116, 234)
HSLhsl(288, 74%, 69%)
HSVhsv(288, 50%, 92%)
CMYKcmyk(10.3%, 50.4%, 0%, 8.2%)
CIE-LABlab(63.45, 54.79, -44.61)
CIE-LCHlch(63.45, 70.66, 320.85°)
OKLaboklab(70.78% 0.1432 -0.1237)
OKLCHoklch(70.78% 0.189 319.2)
XYZxyz(47.6731, 32.1347, 81.5174)
Luminance0.3213 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D274EA #8CEA74
analogous
#9774EA #D274EA #EA74C7
triadic
#D274EA #EAD274 #74EAD2
tetradic
#D274EA #EA9774 #8CEA74 #74C7EA
square
#D274EA #EA9774 #8CEA74 #74C7EA
split-complementary
#D274EA #C7EA74 #74EA97
monochromatic
#A41EC6 #C13FE2 #D274EA #E3A9F2 #F4DEFA

Accessibility & contrast

On white

2.83
#D274EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#D274EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D274EA
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D274EA#FFFFFF#000000##000000
##D274EA1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F93EE
Deuteranopia (green-blind)
#7B9DE7
Tritanopia (blue-blind)
#D385A5
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d274ea;
/* rgb */ color: rgb(210, 116, 234);
/* oklch */ color: oklch(70.8% 0.189 319.2);
Tailwind
colors: {
  custom: {
    50: '#e29ff1',
    500: '#d274ea',
    950: '#000000',
  },
}
SCSS
$custom: #d274ea;
$custom-light: #e29ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#d274ea",
  "rgb": {
    "r": 210,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 287.797,
    "s": 73.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.70777,
    "c": 0.18924,
    "h": 319.2
  },
  "luminance": 0.32133
}

Semantic roles & 50–950 ramp

primary
#D274EA
secondary
#D2EFCB
accent
#D61038
background
#FEFAFE
surface
#FCF3FD
border
#D5CDD5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D274EA

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

Preview Lab → · Contrast checker → · Palette generator →

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