#D498FF#D498FF

#D498FF is a light, vivid violet. Relative luminance 0.437; OKLCH L 77.5% C 0.154 H 310.0°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#D498FF
RGBrgb(212, 152, 255)
HSLhsl(275, 100%, 80%)
HSVhsv(275, 40%, 100%)
CMYKcmyk(16.9%, 40.4%, 0%, 0%)
CIE-LABlab(72.01, 40.87, -42.69)
CIE-LCHlch(72.01, 59.10, 313.75°)
OKLaboklab(77.52% 0.0993 -0.1183)
OKLCHoklch(77.52% 0.154 310)
XYZxyz(56.4263, 43.6743, 100.0458)
Luminance0.4367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D498FF #C3FF98
analogous
#A098FF #D498FF #FF98F7
triadic
#D498FF #FFD498 #98FFD4
tetradic
#D498FF #FFA098 #C3FF98 #98F7FF
square
#D498FF #FFA098 #C3FF98 #98F7FF
split-complementary
#D498FF #F7FF98 #98FFA0
monochromatic
#A11EFF #BA5BFF #D498FF #EED5FF #F2E0FF

Accessibility & contrast

On white

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

On black

9.73
#D498FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D498FF
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D498FF#FFFFFF#000000##000000
##D498FF1.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#83AEFF
Deuteranopia (green-blind)
#91B2FC
Tritanopia (blue-blind)
#CFA7C0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d498ff;
/* rgb */ color: rgb(212, 152, 255);
/* oklch */ color: oklch(77.5% 0.154 310.0);
Tailwind
colors: {
  custom: {
    50: '#e3b7ff',
    500: '#d498ff',
    950: '#000000',
  },
}
SCSS
$custom: #d498ff;
$custom-light: #e3b7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d498ff",
  "rgb": {
    "r": 212,
    "g": 152,
    "b": 255
  },
  "hsl": {
    "h": 274.951,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.77523,
    "c": 0.15446,
    "h": 310
  },
  "luminance": 0.43674
}

Semantic roles & 50–950 ramp

primary
#D498FF
secondary
#E3F7D4
accent
#E60060
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #D498FF

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

Preview Lab → · Contrast checker → · Palette generator →

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