#D274EB#D274EB

#D274EB is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.8% C 0.190 H 318.9°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#D274EB
RGBrgb(210, 116, 235)
HSLhsl(287, 75%, 69%)
HSVhsv(287, 51%, 92%)
CMYKcmyk(10.6%, 50.6%, 0%, 7.8%)
CIE-LABlab(63.50, 54.99, -45.09)
CIE-LCHlch(63.50, 71.11, 320.64°)
OKLaboklab(70.83% 0.1433 -0.1251)
OKLCHoklch(70.83% 0.19 318.9)
XYZxyz(47.8172, 32.1924, 82.2761)
Luminance0.3219 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D274EB #8DEB74
analogous
#9774EB #D274EB #EB74C9
triadic
#D274EB #EBD274 #74EBD2
tetradic
#D274EB #EB9774 #8DEB74 #74C9EB
square
#D274EB #EB9774 #8DEB74 #74C9EB
split-complementary
#D274EB #C9EB74 #74EB97
monochromatic
#A41DC8 #C13EE3 #D274EB #E3AAF3 #F5DFFA

Accessibility & contrast

On white

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

On black

7.44
#D274EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D274EB
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D274EB#FFFFFF#000000##000000
##D274EB1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d274eb;
/* rgb */ color: rgb(210, 116, 235);
/* oklch */ color: oklch(70.8% 0.190 318.9);
Tailwind
colors: {
  custom: {
    50: '#e29ff2',
    500: '#d274eb',
    950: '#000000',
  },
}
SCSS
$custom: #d274eb;
$custom-light: #e29ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#d274eb",
  "rgb": {
    "r": 210,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 287.395,
    "s": 74.843,
    "l": 68.824
  },
  "oklch": {
    "l": 0.70828,
    "c": 0.19024,
    "h": 318.9
  },
  "luminance": 0.32191
}

Semantic roles & 50–950 ramp

primary
#D274EB
secondary
#D3EFCC
accent
#D70F39
background
#FEFAFE
surface
#FCF3FD
border
#D5CDD5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D274EB

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

Preview Lab → · Contrast checker → · Palette generator →

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