#D274CF#D274CF

#D274CF is a light, vivid purple. Relative luminance 0.307; OKLCH L 69.5% C 0.163 H 328.3°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#D274CF
RGBrgb(210, 116, 207)
HSLhsl(302, 51%, 64%)
HSVhsv(302, 45%, 82%)
CMYKcmyk(0%, 44.8%, 1.4%, 17.6%)
CIE-LABlab(62.25, 49.74, -31.40)
CIE-LCHlch(62.25, 58.83, 327.73°)
OKLaboklab(69.49% 0.139 -0.0858)
OKLCHoklch(69.49% 0.163 328.3)
XYZxyz(44.0855, 30.6997, 62.6229)
Luminance0.3070 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D274CF #74D277
analogous
#A674D2 #D274CF #D274A0
triadic
#D274CF #CFD274 #74CFD2
tetradic
#D274CF #D2A674 #74D277 #74A0D2
square
#D274CF #D2A674 #74D277 #74A0D2
split-complementary
#D274CF #A0D274 #74D2A6
monochromatic
#9A3296 #C346BF #D274CF #E1A2DF #F0D0EF

Accessibility & contrast

On white

2.94
#D274CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#D274CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D274CF
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D274CF#FFFFFF#000000##000000
##D274CF1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8FD2
Deuteranopia (green-blind)
#889BCC
Tritanopia (blue-blind)
#D87D98
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d274cf;
/* rgb */ color: rgb(210, 116, 207);
/* oklch */ color: oklch(69.5% 0.163 328.3);
Tailwind
colors: {
  custom: {
    50: '#e29fde',
    500: '#d274cf',
    950: '#000000',
  },
}
SCSS
$custom: #d274cf;
$custom-light: #e29fde;
$custom-dark: #000000;
JSON
{
  "hex": "#d274cf",
  "rgb": {
    "r": 210,
    "g": 116,
    "b": 207
  },
  "hsl": {
    "h": 301.915,
    "s": 51.087,
    "l": 63.922
  },
  "oklch": {
    "l": 0.69493,
    "c": 0.16332,
    "h": 328.3
  },
  "luminance": 0.30697
}

Semantic roles & 50–950 ramp

primary
#D274CF
secondary
#C0E1C1
accent
#BE2C27
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160F15
muted
#847E83

Preview Lab

Preview with #D274CF

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

Preview Lab → · Contrast checker → · Palette generator →

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