#D297CD#D297CD

#D297CD is a light, moderate purple. Relative luminance 0.402; OKLCH L 75.0% C 0.100 H 329.4°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#D297CD
RGBrgb(210, 151, 205)
HSLhsl(305, 40%, 71%)
HSVhsv(305, 28%, 82%)
CMYKcmyk(0%, 28.1%, 2.4%, 17.6%)
CIE-LABlab(69.64, 30.85, -18.95)
CIE-LCHlch(69.64, 36.20, 328.43°)
OKLaboklab(75.04% 0.0864 -0.051)
OKLCHoklch(75.04% 0.1 329.4)
XYZxyz(48.6635, 40.2443, 62.9503)
Luminance0.4024 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D297CD #97D29C
analogous
#B997D2 #D297CD #D297AF
triadic
#D297CD #CDD297 #97CDD2
tetradic
#D297CD #D2B997 #97D29C #97AFD2
square
#D297CD #D2B997 #97D29C #97AFD2
split-complementary
#D297CD #AFD297 #97D2B9
monochromatic
#A7489F #C06CB8 #D297CD #E4C2E2 #F6EAF5

Accessibility & contrast

On white

2.32
#D297CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#D297CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D297CD
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D297CD#FFFFFF#000000##000000
##D297CD1.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#95A5CF
Deuteranopia (green-blind)
#A3ADCB
Tritanopia (blue-blind)
#D79BAA
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d297cd;
/* rgb */ color: rgb(210, 151, 205);
/* oklch */ color: oklch(75.0% 0.100 329.4);
Tailwind
colors: {
  custom: {
    50: '#e0b6dc',
    500: '#d297cd',
    950: '#000000',
  },
}
SCSS
$custom: #d297cd;
$custom-light: #e0b6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d297cd",
  "rgb": {
    "r": 210,
    "g": 151,
    "b": 205
  },
  "hsl": {
    "h": 305.085,
    "s": 39.597,
    "l": 70.784
  },
  "oklch": {
    "l": 0.75043,
    "c": 0.1003,
    "h": 329.4
  },
  "luminance": 0.40243
}

Semantic roles & 50–950 ramp

primary
#D297CD
secondary
#DAEADC
accent
#B33E33
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #D297CD

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

Preview Lab → · Contrast checker → · Palette generator →

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