#D498FD#D498FD

#D498FD is a light, vivid violet. Relative luminance 0.435; OKLCH L 77.4% C 0.152 H 310.6°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#D498FD
RGBrgb(212, 152, 253)
HSLhsl(276, 96%, 79%)
HSVhsv(276, 40%, 99%)
CMYKcmyk(16.2%, 39.9%, 0%, 0.8%)
CIE-LABlab(71.92, 40.45, -41.74)
CIE-LCHlch(71.92, 58.13, 314.10°)
OKLaboklab(77.43% 0.0989 -0.1156)
OKLCHoklch(77.43% 0.152 310.6)
XYZxyz(56.1061, 43.5462, 98.3591)
Luminance0.4355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D498FD #C1FD98
analogous
#A298FD #D498FD #FD98F3
triadic
#D498FD #FDD498 #98FDD4
tetradic
#D498FD #FDA298 #C1FD98 #98F3FD
square
#D498FD #FDA298 #C1FD98 #98F3FD
split-complementary
#D498FD #F3FD98 #98FDA2
monochromatic
#A220FB #BB5CFC #D498FD #EDD4FE #F2E1FE

Accessibility & contrast

On white

2.16
#D498FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.71
#D498FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D498FD
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D498FD#FFFFFF#000000##000000
##D498FD1.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#84ADFF
Deuteranopia (green-blind)
#92B1FA
Tritanopia (blue-blind)
#CFA7BF
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d498fd;
/* rgb */ color: rgb(212, 152, 253);
/* oklch */ color: oklch(77.4% 0.152 310.6);
Tailwind
colors: {
  custom: {
    50: '#e3b7fe',
    500: '#d498fd',
    950: '#000000',
  },
}
SCSS
$custom: #d498fd;
$custom-light: #e3b7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d498fd",
  "rgb": {
    "r": 212,
    "g": 152,
    "b": 253
  },
  "hsl": {
    "h": 275.644,
    "s": 96.19,
    "l": 79.412
  },
  "oklch": {
    "l": 0.7743,
    "c": 0.15213,
    "h": 310.6
  },
  "luminance": 0.43545
}

Semantic roles & 50–950 ramp

primary
#D498FD
secondary
#E2F7D4
accent
#E6005D
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #D498FD

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

Preview Lab → · Contrast checker → · Palette generator →

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