#D274C8#D274C8

#D274C8 is a light, vivid purple. Relative luminance 0.304; OKLCH L 69.2% C 0.157 H 331.1°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#D274C8
RGBrgb(210, 116, 200)
HSLhsl(306, 51%, 64%)
HSVhsv(306, 45%, 82%)
CMYKcmyk(0%, 44.8%, 4.8%, 17.6%)
CIE-LABlab(61.97, 48.51, -27.90)
CIE-LCHlch(61.97, 55.96, 330.09°)
OKLaboklab(69.19% 0.1376 -0.0758)
OKLCHoklch(69.19% 0.157 331.1)
XYZxyz(43.2487, 30.3650, 58.2154)
Luminance0.3036 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D274C8 #74D27E
analogous
#AD74D2 #D274C8 #D27499
triadic
#D274C8 #C8D274 #74C8D2
tetradic
#D274C8 #D2AD74 #74D27E #7499D2
square
#D274C8 #D2AD74 #74D27E #7499D2
split-complementary
#D274C8 #99D274 #74D2AD
monochromatic
#9A328F #C346B6 #D274C8 #E1A2DA #F0D0ED

Accessibility & contrast

On white

2.97
#D274C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#D274C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D274C8
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D274C8#FFFFFF#000000##000000
##D274C81.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#718DCB
Deuteranopia (green-blind)
#8A9AC5
Tritanopia (blue-blind)
#D97B95
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d274c8;
/* rgb */ color: rgb(210, 116, 200);
/* oklch */ color: oklch(69.2% 0.157 331.1);
Tailwind
colors: {
  custom: {
    50: '#e29fd9',
    500: '#d274c8',
    950: '#000000',
  },
}
SCSS
$custom: #d274c8;
$custom-light: #e29fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#d274c8",
  "rgb": {
    "r": 210,
    "g": 116,
    "b": 200
  },
  "hsl": {
    "h": 306.383,
    "s": 51.087,
    "l": 63.922
  },
  "oklch": {
    "l": 0.69187,
    "c": 0.15706,
    "h": 331.1
  },
  "luminance": 0.30363
}

Semantic roles & 50–950 ramp

primary
#D274C8
secondary
#C0E1C4
accent
#BE3727
background
#FEF9FD
surface
#FCF2FA
border
#D5CCD3
text
#160F14
muted
#847E83

Preview Lab

Preview with #D274C8

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

Preview Lab → · Contrast checker → · Palette generator →

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