#D274FA#D274FA

#D274FA is a light, highly saturated purple. Relative luminance 0.331; OKLCH L 71.6% C 0.205 H 314.8°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#D274FA
RGBrgb(210, 116, 250)
HSLhsl(282, 93%, 72%)
HSVhsv(282, 54%, 98%)
CMYKcmyk(16%, 53.6%, 0%, 2%)
CIE-LABlab(64.24, 57.98, -52.21)
CIE-LCHlch(64.24, 78.02, 317.99°)
OKLaboklab(71.61% 0.1447 -0.1458)
OKLCHoklch(71.61% 0.205 314.8)
XYZxyz(50.0763, 33.0960, 94.1742)
Luminance0.3310 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D274FA #9CFA74
analogous
#8F74FA #D274FA #FA74DF
triadic
#D274FA #FAD274 #74FAD2
tetradic
#D274FA #FA8F74 #9CFA74 #74DFFA
square
#D274FA #FA8F74 #9CFA74 #74DFFA
split-complementary
#D274FA #DFFA74 #74FA8F
monochromatic
#A708EB #BF39F8 #D274FA #E5AFFC #F5E1FE

Accessibility & contrast

On white

2.76
#D274FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#D274FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D274FA
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D274FA#FFFFFF#000000##000000
##D274FA1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5396FE
Deuteranopia (green-blind)
#729EF7
Tritanopia (blue-blind)
#CF8AAC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d274fa;
/* rgb */ color: rgb(210, 116, 250);
/* oklch */ color: oklch(71.6% 0.205 314.8);
Tailwind
colors: {
  custom: {
    50: '#e29ffc',
    500: '#d274fa',
    950: '#000000',
  },
}
SCSS
$custom: #d274fa;
$custom-light: #e29ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#d274fa",
  "rgb": {
    "r": 210,
    "g": 116,
    "b": 250
  },
  "hsl": {
    "h": 282.09,
    "s": 93.056,
    "l": 71.765
  },
  "oklch": {
    "l": 0.7161,
    "c": 0.20541,
    "h": 314.8
  },
  "luminance": 0.33095
}

Semantic roles & 50–950 ramp

primary
#D274FA
secondary
#DEF6D4
accent
#E60045
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D274FA

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

Preview Lab → · Contrast checker → · Palette generator →

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