#D274CC#D274CC

#D274CC is a light, vivid purple. Relative luminance 0.306; OKLCH L 69.4% C 0.161 H 329.5°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#D274CC
RGBrgb(210, 116, 204)
HSLhsl(304, 51%, 64%)
HSVhsv(304, 45%, 82%)
CMYKcmyk(0%, 44.8%, 2.9%, 17.6%)
CIE-LABlab(62.13, 49.21, -29.91)
CIE-LCHlch(62.13, 57.58, 328.71°)
OKLaboklab(69.36% 0.1384 -0.0815)
OKLCHoklch(69.36% 0.161 329.5)
XYZxyz(43.7223, 30.5544, 60.7096)
Luminance0.3055 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D274CC #74D27A
analogous
#A974D2 #D274CC #D2749D
triadic
#D274CC #CCD274 #74CCD2
tetradic
#D274CC #D2A974 #74D27A #749DD2
square
#D274CC #D2A974 #74D27A #749DD2
split-complementary
#D274CC #9DD274 #74D2A9
monochromatic
#9A3293 #C346BB #D274CC #E1A2DD #F0D0EE

Accessibility & contrast

On white

2.95
#D274CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#D274CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D274CC
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D274CC#FFFFFF#000000##000000
##D274CC1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8ECF
Deuteranopia (green-blind)
#899BC9
Tritanopia (blue-blind)
#D87C97
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d274cc;
/* rgb */ color: rgb(210, 116, 204);
/* oklch */ color: oklch(69.4% 0.161 329.5);
Tailwind
colors: {
  custom: {
    50: '#e29fdb',
    500: '#d274cc',
    950: '#000000',
  },
}
SCSS
$custom: #d274cc;
$custom-light: #e29fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#d274cc",
  "rgb": {
    "r": 210,
    "g": 116,
    "b": 204
  },
  "hsl": {
    "h": 303.83,
    "s": 51.087,
    "l": 63.922
  },
  "oklch": {
    "l": 0.69361,
    "c": 0.16061,
    "h": 329.5
  },
  "luminance": 0.30552
}

Semantic roles & 50–950 ramp

primary
#D274CC
secondary
#C0E1C3
accent
#BE3127
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160F15
muted
#847E83

Preview Lab

Preview with #D274CC

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

Preview Lab → · Contrast checker → · Palette generator →

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