#D274DC#D274DC

#D274DC is a light, vivid purple. Relative luminance 0.314; OKLCH L 70.1% C 0.176 H 323.6°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#D274DC
RGBrgb(210, 116, 220)
HSLhsl(294, 60%, 66%)
HSVhsv(294, 47%, 86%)
CMYKcmyk(4.5%, 47.3%, 0%, 13.7%)
CIE-LABlab(62.81, 52.12, -37.83)
CIE-LCHlch(62.81, 64.40, 324.03°)
OKLaboklab(70.09% 0.1413 -0.1041)
OKLCHoklch(70.09% 0.176 323.6)
XYZxyz(45.7407, 31.3618, 71.3403)
Luminance0.3136 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D274DC #7EDC74
analogous
#9E74DC #D274DC #DC74B2
triadic
#D274DC #DCD274 #74DCD2
tetradic
#D274DC #DC9E74 #7EDC74 #74B2DC
square
#D274DC #DC9E74 #7EDC74 #74B2DC
split-complementary
#D274DC #B2DC74 #74DC9E
monochromatic
#9E2BAB #C243D0 #D274DC #E2A5E8 #F2D6F5

Accessibility & contrast

On white

2.89
#D274DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#D274DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D274DC
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D274DC#FFFFFF#000000##000000
##D274DC1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6791E0
Deuteranopia (green-blind)
#829CD9
Tritanopia (blue-blind)
#D5809E
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d274dc;
/* rgb */ color: rgb(210, 116, 220);
/* oklch */ color: oklch(70.1% 0.176 323.6);
Tailwind
colors: {
  custom: {
    50: '#e29fe7',
    500: '#d274dc',
    950: '#000000',
  },
}
SCSS
$custom: #d274dc;
$custom-light: #e29fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#d274dc",
  "rgb": {
    "r": 210,
    "g": 116,
    "b": 220
  },
  "hsl": {
    "h": 294.231,
    "s": 59.77,
    "l": 65.882
  },
  "oklch": {
    "l": 0.70092,
    "c": 0.17551,
    "h": 323.6
  },
  "luminance": 0.3136
}

Semantic roles & 50–950 ramp

primary
#D274DC
secondary
#C8E7C5
accent
#C71E2E
background
#FEFAFE
surface
#FCF3FC
border
#D5CDD5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D274DC

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

Preview Lab → · Contrast checker → · Palette generator →

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