#D298CD#D298CD

#D298CD is a light, moderate purple. Relative luminance 0.406; OKLCH L 75.2% C 0.099 H 329.4°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#D298CD
RGBrgb(210, 152, 205)
HSLhsl(305, 39%, 71%)
HSVhsv(305, 28%, 82%)
CMYKcmyk(0%, 27.6%, 2.4%, 17.6%)
CIE-LABlab(69.87, 30.30, -18.61)
CIE-LCHlch(69.87, 35.56, 328.45°)
OKLaboklab(75.22% 0.0848 -0.0501)
OKLCHoklch(75.22% 0.099 329.4)
XYZxyz(48.8251, 40.5676, 63.0042)
Luminance0.4057 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D298CD #98D29D
analogous
#BA98D2 #D298CD #D298B0
triadic
#D298CD #CDD298 #98CDD2
tetradic
#D298CD #D2BA98 #98D29D #98B0D2
square
#D298CD #D2BA98 #98D29D #98B0D2
split-complementary
#D298CD #B0D298 #98D2BA
monochromatic
#A7499F #BF6DB8 #D298CD #E5C3E2 #F6EAF5

Accessibility & contrast

On white

2.30
#D298CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#D298CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D298CD
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D298CD#FFFFFF#000000##000000
##D298CD1.002.309.119.11
#FFFFFF2.301.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#96A6CF
Deuteranopia (green-blind)
#A3AECB
Tritanopia (blue-blind)
#D69CAB
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d298cd;
/* rgb */ color: rgb(210, 152, 205);
/* oklch */ color: oklch(75.2% 0.099 329.4);
Tailwind
colors: {
  custom: {
    50: '#e0b7dc',
    500: '#d298cd',
    950: '#000000',
  },
}
SCSS
$custom: #d298cd;
$custom-light: #e0b7dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d298cd",
  "rgb": {
    "r": 210,
    "g": 152,
    "b": 205
  },
  "hsl": {
    "h": 305.172,
    "s": 39.189,
    "l": 70.98
  },
  "oklch": {
    "l": 0.75218,
    "c": 0.0985,
    "h": 329.4
  },
  "luminance": 0.40566
}

Semantic roles & 50–950 ramp

primary
#D298CD
secondary
#DBEBDD
accent
#B23E33
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #D298CD

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

Preview Lab → · Contrast checker → · Palette generator →

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