#D274DF#D274DF

#D274DF is a light, vivid purple. Relative luminance 0.315; OKLCH L 70.2% C 0.178 H 322.6°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#D274DF
RGBrgb(210, 116, 223)
HSLhsl(293, 63%, 66%)
HSVhsv(293, 48%, 87%)
CMYKcmyk(5.8%, 48%, 0%, 12.5%)
CIE-LABlab(62.95, 52.68, -39.29)
CIE-LCHlch(62.95, 65.72, 323.28°)
OKLaboklab(70.24% 0.1417 -0.1084)
OKLCHoklch(70.24% 0.178 322.6)
XYZxyz(46.1416, 31.5222, 73.4516)
Luminance0.3152 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D274DF #81DF74
analogous
#9D74DF #D274DF #DF74B7
triadic
#D274DF #DFD274 #74DFD2
tetradic
#D274DF #DF9D74 #81DF74 #74B7DF
square
#D274DF #DF9D74 #81DF74 #74B7DF
split-complementary
#D274DF #B7DF74 #74DF9D
monochromatic
#A029B0 #C242D4 #D274DF #E2A6EA #F2D7F6

Accessibility & contrast

On white

2.88
#D274DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#D274DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D274DF
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D274DF#FFFFFF#000000##000000
##D274DF1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6591E3
Deuteranopia (green-blind)
#819CDC
Tritanopia (blue-blind)
#D5819F
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d274df;
/* rgb */ color: rgb(210, 116, 223);
/* oklch */ color: oklch(70.2% 0.178 322.6);
Tailwind
colors: {
  custom: {
    50: '#e29fe9',
    500: '#d274df',
    950: '#000000',
  },
}
SCSS
$custom: #d274df;
$custom-light: #e29fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#d274df",
  "rgb": {
    "r": 210,
    "g": 116,
    "b": 223
  },
  "hsl": {
    "h": 292.71,
    "s": 62.573,
    "l": 66.471
  },
  "oklch": {
    "l": 0.70235,
    "c": 0.17842,
    "h": 322.6
  },
  "luminance": 0.3152
}

Semantic roles & 50–950 ramp

primary
#D274DF
secondary
#CAE9C6
accent
#CA1B30
background
#FEFAFE
surface
#FCF3FD
border
#D5CDD5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D274DF

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

Preview Lab → · Contrast checker → · Palette generator →

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