#D274FE#D274FE

#D274FE is a light, highly saturated purple. Relative luminance 0.333; OKLCH L 71.8% C 0.209 H 313.8°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#D274FE
RGBrgb(210, 116, 254)
HSLhsl(281, 99%, 73%)
HSVhsv(281, 54%, 100%)
CMYKcmyk(17.3%, 54.3%, 0%, 0.4%)
CIE-LABlab(64.44, 58.79, -54.09)
CIE-LCHlch(64.44, 79.89, 317.39°)
OKLaboklab(71.83% 0.145 -0.1512)
OKLCHoklch(71.83% 0.21 313.8)
XYZxyz(50.7101, 33.3496, 97.5125)
Luminance0.3335 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D274FE #A0FE74
analogous
#8D74FE #D274FE #FE74E5
triadic
#D274FE #FED274 #74FED2
tetradic
#D274FE #FE8D74 #A0FE74 #74E5FE
square
#D274FE #FE8D74 #A0FE74 #74E5FE
split-complementary
#D274FE #E5FE74 #74FE8D
monochromatic
#A802F6 #BE37FE #D274FE #E6B1FE #F5E1FF

Accessibility & contrast

On white

2.74
#D274FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#D274FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D274FE
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D274FE#FFFFFF#000000##000000
##D274FE1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F97FF
Deuteranopia (green-blind)
#709FFA
Tritanopia (blue-blind)
#CE8BAE
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d274fe;
/* rgb */ color: rgb(210, 116, 254);
/* oklch */ color: oklch(71.8% 0.209 313.8);
Tailwind
colors: {
  custom: {
    50: '#e39fff',
    500: '#d274fe',
    950: '#000000',
  },
}
SCSS
$custom: #d274fe;
$custom-light: #e39fff;
$custom-dark: #000000;
JSON
{
  "hex": "#d274fe",
  "rgb": {
    "r": 210,
    "g": 116,
    "b": 254
  },
  "hsl": {
    "h": 280.87,
    "s": 98.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71827,
    "c": 0.2095,
    "h": 313.8
  },
  "luminance": 0.33348
}

Semantic roles & 50–950 ramp

primary
#D274FE
secondary
#DFF7D4
accent
#E60049
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D274FE

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

Preview Lab → · Contrast checker → · Palette generator →

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