#D274EF#D274EF

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

Color values

HEX#D274EF
RGBrgb(210, 116, 239)
HSLhsl(286, 79%, 70%)
HSVhsv(286, 51%, 94%)
CMYKcmyk(12.1%, 51.5%, 0%, 6.3%)
CIE-LABlab(63.69, 55.77, -47.01)
CIE-LCHlch(63.69, 72.94, 319.87°)
OKLaboklab(71.03% 0.1438 -0.1306)
OKLCHoklch(71.03% 0.194 317.7)
XYZxyz(48.4015, 32.4261, 85.3539)
Luminance0.3242 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D274EF #91EF74
analogous
#9574EF #D274EF #EF74CE
triadic
#D274EF #EFD274 #74EFD2
tetradic
#D274EF #EF9574 #91EF74 #74CEEF
square
#D274EF #EF9574 #91EF74 #74CEEF
split-complementary
#D274EF #CEEF74 #74EF95
monochromatic
#A518D1 #C03DE9 #D274EF #E4ABF5 #F6E2FC

Accessibility & contrast

On white

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

On black

7.48
#D274EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D274EF
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D274EF#FFFFFF#000000##000000
##D274EF1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B94F3
Deuteranopia (green-blind)
#799DEC
Tritanopia (blue-blind)
#D286A7
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d274ef;
/* rgb */ color: rgb(210, 116, 239);
/* oklch */ color: oklch(71.0% 0.194 317.7);
Tailwind
colors: {
  custom: {
    50: '#e29ff5',
    500: '#d274ef',
    950: '#000000',
  },
}
SCSS
$custom: #d274ef;
$custom-light: #e29ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#d274ef",
  "rgb": {
    "r": 210,
    "g": 116,
    "b": 239
  },
  "hsl": {
    "h": 285.854,
    "s": 79.355,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71032,
    "c": 0.19425,
    "h": 317.7
  },
  "luminance": 0.32424
}

Semantic roles & 50–950 ramp

primary
#D274EF
secondary
#D6F1CE
accent
#DC0A3B
background
#FEFAFF
surface
#FCF3FE
border
#D5CDD6
text
#160F17
muted
#847F85

Preview Lab

Preview with #D274EF

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

Preview Lab → · Contrast checker → · Palette generator →

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