#D498F8#D498F8

#D498F8 is a light, vivid violet. Relative luminance 0.432; OKLCH L 77.2% C 0.146 H 312.0°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#D498F8
RGBrgb(212, 152, 248)
HSLhsl(278, 87%, 78%)
HSVhsv(278, 39%, 97%)
CMYKcmyk(14.5%, 38.7%, 0%, 2.7%)
CIE-LABlab(71.71, 39.39, -39.36)
CIE-LCHlch(71.71, 55.69, 315.03°)
OKLaboklab(77.2% 0.0979 -0.1087)
OKLCHoklch(77.2% 0.146 312)
XYZxyz(55.3200, 43.2318, 94.2191)
Luminance0.4323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D498F8 #BCF898
analogous
#A498F8 #D498F8 #F898EC
triadic
#D498F8 #F8D498 #98F8D4
tetradic
#D498F8 #F8A498 #BCF898 #98ECF8
square
#D498F8 #F8A498 #BCF898 #98ECF8
split-complementary
#D498F8 #ECF898 #98F8A4
monochromatic
#A425F0 #BC5FF4 #D498F8 #ECD1FC #F3E2FD

Accessibility & contrast

On white

2.18
#D498F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#D498F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D498F8
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D498F8#FFFFFF#000000##000000
##D498F81.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#86ADFC
Deuteranopia (green-blind)
#94B1F5
Tritanopia (blue-blind)
#D1A6BC
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d498f8;
/* rgb */ color: rgb(212, 152, 248);
/* oklch */ color: oklch(77.2% 0.146 312.0);
Tailwind
colors: {
  custom: {
    50: '#e2b7fb',
    500: '#d498f8',
    950: '#000000',
  },
}
SCSS
$custom: #d498f8;
$custom-light: #e2b7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d498f8",
  "rgb": {
    "r": 212,
    "g": 152,
    "b": 248
  },
  "hsl": {
    "h": 277.5,
    "s": 87.273,
    "l": 78.431
  },
  "oklch": {
    "l": 0.772,
    "c": 0.14634,
    "h": 312
  },
  "luminance": 0.43231
}

Semantic roles & 50–950 ramp

primary
#D498F8
secondary
#E2F5D6
accent
#E40256
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#151117
muted
#848085

Preview Lab

Preview with #D498F8

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

Preview Lab → · Contrast checker → · Palette generator →

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