#D498FE#D498FE

#D498FE is a light, vivid violet. Relative luminance 0.436; OKLCH L 77.5% C 0.153 H 310.3°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#D498FE
RGBrgb(212, 152, 254)
HSLhsl(275, 98%, 80%)
HSVhsv(275, 40%, 100%)
CMYKcmyk(16.5%, 40.2%, 0%, 0.4%)
CIE-LABlab(71.97, 40.66, -42.22)
CIE-LCHlch(71.97, 58.61, 313.92°)
OKLaboklab(77.48% 0.0991 -0.117)
OKLCHoklch(77.48% 0.153 310.3)
XYZxyz(56.2658, 43.6101, 99.2002)
Luminance0.4361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D498FE #C2FE98
analogous
#A198FE #D498FE #FE98F5
triadic
#D498FE #FED498 #98FED4
tetradic
#D498FE #FEA198 #C2FE98 #98F5FE
square
#D498FE #FEA198 #C2FE98 #98F5FE
split-complementary
#D498FE #F5FE98 #98FEA1
monochromatic
#A11FFD #BB5BFD #D498FE #EDD5FF #F2E1FF

Accessibility & contrast

On white

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

On black

9.72
#D498FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D498FE
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D498FE#FFFFFF#000000##000000
##D498FE1.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#83AEFF
Deuteranopia (green-blind)
#92B2FB
Tritanopia (blue-blind)
#CFA7BF
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d498fe;
/* rgb */ color: rgb(212, 152, 254);
/* oklch */ color: oklch(77.5% 0.153 310.3);
Tailwind
colors: {
  custom: {
    50: '#e3b7ff',
    500: '#d498fe',
    950: '#000000',
  },
}
SCSS
$custom: #d498fe;
$custom-light: #e3b7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d498fe",
  "rgb": {
    "r": 212,
    "g": 152,
    "b": 254
  },
  "hsl": {
    "h": 275.294,
    "s": 98.077,
    "l": 79.608
  },
  "oklch": {
    "l": 0.77476,
    "c": 0.1533,
    "h": 310.3
  },
  "luminance": 0.43609
}

Semantic roles & 50–950 ramp

primary
#D498FE
secondary
#E2F7D4
accent
#E6005F
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #D498FE

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

Preview Lab → · Contrast checker → · Palette generator →

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