#D274E7#D274E7

#D274E7 is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.6% C 0.186 H 320.1°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#D274E7
RGBrgb(210, 116, 231)
HSLhsl(289, 71%, 68%)
HSVhsv(289, 50%, 91%)
CMYKcmyk(9.1%, 49.8%, 0%, 9.4%)
CIE-LABlab(63.31, 54.21, -43.17)
CIE-LCHlch(63.31, 69.30, 321.47°)
OKLaboklab(70.63% 0.1428 -0.1195)
OKLCHoklch(70.63% 0.186 320.1)
XYZxyz(47.2458, 31.9638, 79.2667)
Luminance0.3196 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D274E7 #89E774
analogous
#9874E7 #D274E7 #E774C3
triadic
#D274E7 #E7D274 #74E7D2
tetradic
#D274E7 #E79874 #89E774 #74C3E7
square
#D274E7 #E79874 #89E774 #74C3E7
split-complementary
#D274E7 #C3E774 #74E798
monochromatic
#A321C0 #C140DE #D274E7 #E3A8F0 #F4DCF9

Accessibility & contrast

On white

2.84
#D274E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#D274E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D274E7
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D274E7#FFFFFF#000000##000000
##D274E71.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6193EB
Deuteranopia (green-blind)
#7D9DE4
Tritanopia (blue-blind)
#D384A3
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d274e7;
/* rgb */ color: rgb(210, 116, 231);
/* oklch */ color: oklch(70.6% 0.186 320.1);
Tailwind
colors: {
  custom: {
    50: '#e29fef',
    500: '#d274e7',
    950: '#000000',
  },
}
SCSS
$custom: #d274e7;
$custom-light: #e29fef;
$custom-dark: #000000;
JSON
{
  "hex": "#d274e7",
  "rgb": {
    "r": 210,
    "g": 116,
    "b": 231
  },
  "hsl": {
    "h": 289.043,
    "s": 70.552,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70627,
    "c": 0.18626,
    "h": 320.1
  },
  "luminance": 0.31962
}

Semantic roles & 50–950 ramp

primary
#D274E7
secondary
#D0EDCA
accent
#D31336
background
#FEFAFE
surface
#FCF3FD
border
#D5CDD5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D274E7

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

Preview Lab → · Contrast checker → · Palette generator →

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