#D498EB#D498EB

#D498EB is a light, vivid purple. Relative luminance 0.425; OKLCH L 76.6% C 0.132 H 316.3°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#D498EB
RGBrgb(212, 152, 235)
HSLhsl(283, 67%, 76%)
HSVhsv(283, 35%, 92%)
CMYKcmyk(9.8%, 35.3%, 0%, 7.8%)
CIE-LABlab(71.18, 36.72, -33.09)
CIE-LCHlch(71.18, 49.43, 317.98°)
OKLaboklab(76.63% 0.0951 -0.0908)
OKLCHoklch(76.63% 0.132 316.3)
XYZxyz(53.3728, 42.4529, 83.9638)
Luminance0.4245 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D498EB #AFEB98
analogous
#AA98EB #D498EB #EB98D9
triadic
#D498EB #EBD498 #98EBD4
tetradic
#D498EB #EBAA98 #AFEB98 #98D9EB
square
#D498EB #EBAA98 #AFEB98 #98D9EB
split-complementary
#D498EB #D9EB98 #98EBAA
monochromatic
#A932D7 #BF65E1 #D498EB #E9CBF5 #F4E5FA

Accessibility & contrast

On white

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

On black

9.49
#D498EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D498EB
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D498EB#FFFFFF#000000##000000
##D498EB1.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CABEE
Deuteranopia (green-blind)
#9AB0E8
Tritanopia (blue-blind)
#D3A2B7
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d498eb;
/* rgb */ color: rgb(212, 152, 235);
/* oklch */ color: oklch(76.6% 0.132 316.3);
Tailwind
colors: {
  custom: {
    50: '#e2b7f1',
    500: '#d498eb',
    950: '#000000',
  },
}
SCSS
$custom: #d498eb;
$custom-light: #e2b7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d498eb",
  "rgb": {
    "r": 212,
    "g": 152,
    "b": 235
  },
  "hsl": {
    "h": 283.373,
    "s": 67.48,
    "l": 75.882
  },
  "oklch": {
    "l": 0.76625,
    "c": 0.1315,
    "h": 316.3
  },
  "luminance": 0.42452
}

Semantic roles & 50–950 ramp

primary
#D498EB
secondary
#E0F2D9
accent
#CF1649
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #D498EB

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

Preview Lab → · Contrast checker → · Palette generator →

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