#D274CD#D274CD

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

Color values

HEX#D274CD
RGBrgb(210, 116, 205)
HSLhsl(303, 51%, 64%)
HSVhsv(303, 45%, 82%)
CMYKcmyk(0%, 44.8%, 2.4%, 17.6%)
CIE-LABlab(62.17, 49.39, -30.41)
CIE-LCHlch(62.17, 58.00, 328.38°)
OKLaboklab(69.41% 0.1386 -0.0829)
OKLCHoklch(69.41% 0.162 329.1)
XYZxyz(43.8426, 30.6025, 61.3433)
Luminance0.3060 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D274CD #74D279
analogous
#A874D2 #D274CD #D2749E
triadic
#D274CD #CDD274 #74CDD2
tetradic
#D274CD #D2A874 #74D279 #749ED2
square
#D274CD #D2A874 #74D279 #749ED2
split-complementary
#D274CD #9ED274 #74D2A8
monochromatic
#9A3294 #C346BC #D274CD #E1A2DE #F0D0EE

Accessibility & contrast

On white

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

On black

7.12
#D274CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D274CD
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D274CD#FFFFFF#000000##000000
##D274CD1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8ED0
Deuteranopia (green-blind)
#889BCA
Tritanopia (blue-blind)
#D87C97
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d274cd;
/* rgb */ color: rgb(210, 116, 205);
/* oklch */ color: oklch(69.4% 0.162 329.1);
Tailwind
colors: {
  custom: {
    50: '#e29fdc',
    500: '#d274cd',
    950: '#000000',
  },
}
SCSS
$custom: #d274cd;
$custom-light: #e29fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#d274cd",
  "rgb": {
    "r": 210,
    "g": 116,
    "b": 205
  },
  "hsl": {
    "h": 303.191,
    "s": 51.087,
    "l": 63.922
  },
  "oklch": {
    "l": 0.69405,
    "c": 0.16151,
    "h": 329.1
  },
  "luminance": 0.306
}

Semantic roles & 50–950 ramp

primary
#D274CD
secondary
#C0E1C2
accent
#BE2F27
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160F15
muted
#847E83

Preview Lab

Preview with #D274CD

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

Preview Lab → · Contrast checker → · Palette generator →

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