#D498EC#D498EC

#D498EC is a light, vivid purple. Relative luminance 0.425; OKLCH L 76.7% C 0.133 H 316.0°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#D498EC
RGBrgb(212, 152, 236)
HSLhsl(283, 69%, 76%)
HSVhsv(283, 36%, 93%)
CMYKcmyk(10.2%, 35.6%, 0%, 7.5%)
CIE-LABlab(71.22, 36.92, -33.57)
CIE-LCHlch(71.22, 49.91, 317.72°)
OKLaboklab(76.67% 0.0953 -0.0922)
OKLCHoklch(76.67% 0.133 316)
XYZxyz(53.5177, 42.5109, 84.7268)
Luminance0.4251 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D498EC #B0EC98
analogous
#AA98EC #D498EC #EC98DA
triadic
#D498EC #ECD498 #98ECD4
tetradic
#D498EC #ECAA98 #B0EC98 #98DAEC
square
#D498EC #ECAA98 #B0EC98 #98DAEC
split-complementary
#D498EC #DAEC98 #98ECAA
monochromatic
#A931D9 #BE64E2 #D498EC #EACCF6 #F4E5FA

Accessibility & contrast

On white

2.21
#D498EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.50
#D498EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D498EC
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D498EC#FFFFFF#000000##000000
##D498EC1.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BABEF
Deuteranopia (green-blind)
#9AB0E9
Tritanopia (blue-blind)
#D3A3B7
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d498ec;
/* rgb */ color: rgb(212, 152, 236);
/* oklch */ color: oklch(76.7% 0.133 316.0);
Tailwind
colors: {
  custom: {
    50: '#e2b7f2',
    500: '#d498ec',
    950: '#000000',
  },
}
SCSS
$custom: #d498ec;
$custom-light: #e2b7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d498ec",
  "rgb": {
    "r": 212,
    "g": 152,
    "b": 236
  },
  "hsl": {
    "h": 282.857,
    "s": 68.852,
    "l": 76.078
  },
  "oklch": {
    "l": 0.76668,
    "c": 0.13262,
    "h": 316
  },
  "luminance": 0.4251
}

Semantic roles & 50–950 ramp

primary
#D498EC
secondary
#E0F2D9
accent
#D1154A
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #D498EC

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

Preview Lab → · Contrast checker → · Palette generator →

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