#D274EC#D274EC

#D274EC is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.9% C 0.191 H 318.6°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#D274EC
RGBrgb(210, 116, 236)
HSLhsl(287, 76%, 69%)
HSVhsv(287, 51%, 93%)
CMYKcmyk(11%, 50.8%, 0%, 7.5%)
CIE-LABlab(63.55, 55.18, -45.57)
CIE-LCHlch(63.55, 71.57, 320.45°)
OKLaboklab(70.88% 0.1434 -0.1265)
OKLCHoklch(70.88% 0.191 318.6)
XYZxyz(47.9620, 32.2503, 83.0391)
Luminance0.3225 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D274EC #8EEC74
analogous
#9674EC #D274EC #EC74CA
triadic
#D274EC #ECD274 #74ECD2
tetradic
#D274EC #EC9674 #8EEC74 #74CAEC
square
#D274EC #EC9674 #8EEC74 #74CAEC
split-complementary
#D274EC #CAEC74 #74EC96
monochromatic
#A41CCA #C13EE5 #D274EC #E3AAF3 #F5E0FB

Accessibility & contrast

On white

2.82
#D274EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#D274EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D274EC
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D274EC#FFFFFF#000000##000000
##D274EC1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D94F0
Deuteranopia (green-blind)
#7A9DE9
Tritanopia (blue-blind)
#D285A5
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d274ec;
/* rgb */ color: rgb(210, 116, 236);
/* oklch */ color: oklch(70.9% 0.191 318.6);
Tailwind
colors: {
  custom: {
    50: '#e29ff2',
    500: '#d274ec',
    950: '#000000',
  },
}
SCSS
$custom: #d274ec;
$custom-light: #e29ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#d274ec",
  "rgb": {
    "r": 210,
    "g": 116,
    "b": 236
  },
  "hsl": {
    "h": 287,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.70878,
    "c": 0.19124,
    "h": 318.6
  },
  "luminance": 0.32249
}

Semantic roles & 50–950 ramp

primary
#D274EC
secondary
#D4EFCC
accent
#D80D39
background
#FEFAFE
surface
#FCF3FD
border
#D5CDD5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D274EC

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

Preview Lab → · Contrast checker → · Palette generator →

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