#D498EF#D498EF

#D498EF is a light, vivid purple. Relative luminance 0.427; OKLCH L 76.8% C 0.136 H 314.9°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#D498EF
RGBrgb(212, 152, 239)
HSLhsl(281, 73%, 77%)
HSVhsv(281, 36%, 94%)
CMYKcmyk(11.3%, 36.4%, 0%, 6.3%)
CIE-LABlab(71.34, 37.53, -35.03)
CIE-LCHlch(71.34, 51.34, 316.98°)
OKLaboklab(76.8% 0.096 -0.0963)
OKLCHoklch(76.8% 0.136 314.9)
XYZxyz(53.9572, 42.6867, 87.0416)
Luminance0.4269 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D498EF #B3EF98
analogous
#A998EF #D498EF #EF98DF
triadic
#D498EF #EFD498 #98EFD4
tetradic
#D498EF #EFA998 #B3EF98 #98DFEF
square
#D498EF #EFA998 #B3EF98 #98DFEF
split-complementary
#D498EF #DFEF98 #98EFA9
monochromatic
#A82EDF #BE63E7 #D498EF #EACDF7 #F4E5FB

Accessibility & contrast

On white

2.20
#D498EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.54
#D498EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D498EF
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D498EF#FFFFFF#000000##000000
##D498EF1.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AABF2
Deuteranopia (green-blind)
#98B0EC
Tritanopia (blue-blind)
#D3A3B9
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d498ef;
/* rgb */ color: rgb(212, 152, 239);
/* oklch */ color: oklch(76.8% 0.136 314.9);
Tailwind
colors: {
  custom: {
    50: '#e2b7f4',
    500: '#d498ef',
    950: '#000000',
  },
}
SCSS
$custom: #d498ef;
$custom-light: #e2b7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d498ef",
  "rgb": {
    "r": 212,
    "g": 152,
    "b": 239
  },
  "hsl": {
    "h": 281.379,
    "s": 73.109,
    "l": 76.667
  },
  "oklch": {
    "l": 0.76799,
    "c": 0.13602,
    "h": 314.9
  },
  "luminance": 0.42686
}

Semantic roles & 50–950 ramp

primary
#D498EF
secondary
#E1F3D8
accent
#D5104D
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #D498EF

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

Preview Lab → · Contrast checker → · Palette generator →

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