#D298EA#D298EA

#D298EA is a light, vivid purple. Relative luminance 0.421; OKLCH L 76.4% C 0.129 H 315.7°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#D298EA
RGBrgb(210, 152, 234)
HSLhsl(282, 66%, 76%)
HSVhsv(282, 35%, 92%)
CMYKcmyk(10.3%, 35%, 0%, 8.2%)
CIE-LABlab(70.94, 35.91, -32.93)
CIE-LCHlch(70.94, 48.73, 317.48°)
OKLaboklab(76.38% 0.0926 -0.0904)
OKLCHoklch(76.38% 0.129 315.7)
XYZxyz(52.6556, 42.0998, 83.1782)
Luminance0.4210 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D298EA #B0EA98
analogous
#A998EA #D298EA #EA98D9
triadic
#D298EA #EAD298 #98EAD2
tetradic
#D298EA #EAA998 #B0EA98 #98D9EA
square
#D298EA #EAA998 #B0EA98 #98D9EA
split-complementary
#D298EA #D9EA98 #98EAA9
monochromatic
#A632D5 #BC65E0 #D298EA #E8CBF4 #F4E6FA

Accessibility & contrast

On white

2.23
#D298EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.42
#D298EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D298EA
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D298EA#FFFFFF#000000##000000
##D298EA1.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BAAED
Deuteranopia (green-blind)
#99AFE8
Tritanopia (blue-blind)
#D1A2B6
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d298ea;
/* rgb */ color: rgb(210, 152, 234);
/* oklch */ color: oklch(76.4% 0.129 315.7);
Tailwind
colors: {
  custom: {
    50: '#e1b7f1',
    500: '#d298ea',
    950: '#000000',
  },
}
SCSS
$custom: #d298ea;
$custom-light: #e1b7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d298ea",
  "rgb": {
    "r": 210,
    "g": 152,
    "b": 234
  },
  "hsl": {
    "h": 282.439,
    "s": 66.129,
    "l": 75.686
  },
  "oklch": {
    "l": 0.76382,
    "c": 0.1294,
    "h": 315.7
  },
  "luminance": 0.42099
}

Semantic roles & 50–950 ramp

primary
#D298EA
secondary
#E1F1DA
accent
#CE184D
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #D298EA

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

Preview Lab → · Contrast checker → · Palette generator →

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