#D274EE#D274EE

#D274EE is a light, vivid purple. Relative luminance 0.324; OKLCH L 71.0% C 0.193 H 318.0°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#D274EE
RGBrgb(210, 116, 238)
HSLhsl(286, 78%, 69%)
HSVhsv(286, 51%, 93%)
CMYKcmyk(11.8%, 51.3%, 0%, 6.7%)
CIE-LABlab(63.65, 55.58, -46.53)
CIE-LCHlch(63.65, 72.48, 320.06°)
OKLaboklab(70.98% 0.1437 -0.1293)
OKLCHoklch(70.98% 0.193 318)
XYZxyz(48.2542, 32.3672, 84.5780)
Luminance0.3236 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D274EE #90EE74
analogous
#9574EE #D274EE #EE74CD
triadic
#D274EE #EED274 #74EED2
tetradic
#D274EE #EE9574 #90EE74 #74CDEE
square
#D274EE #EE9574 #90EE74 #74CDEE
split-complementary
#D274EE #CDEE74 #74EE95
monochromatic
#A519CE #C03DE7 #D274EE #E4ABF5 #F5E1FB

Accessibility & contrast

On white

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

On black

7.47
#D274EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D274EE
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D274EE#FFFFFF#000000##000000
##D274EE1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C94F2
Deuteranopia (green-blind)
#799DEB
Tritanopia (blue-blind)
#D286A6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d274ee;
/* rgb */ color: rgb(210, 116, 238);
/* oklch */ color: oklch(71.0% 0.193 318.0);
Tailwind
colors: {
  custom: {
    50: '#e29ff4',
    500: '#d274ee',
    950: '#000000',
  },
}
SCSS
$custom: #d274ee;
$custom-light: #e29ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#d274ee",
  "rgb": {
    "r": 210,
    "g": 116,
    "b": 238
  },
  "hsl": {
    "h": 286.23,
    "s": 78.205,
    "l": 69.412
  },
  "oklch": {
    "l": 0.7098,
    "c": 0.19325,
    "h": 318
  },
  "luminance": 0.32365
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D274EE

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

Preview Lab → · Contrast checker → · Palette generator →

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