#D498F6#D498F6

#D498F6 is a light, vivid violet. Relative luminance 0.431; OKLCH L 77.1% C 0.144 H 312.6°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#D498F6
RGBrgb(212, 152, 246)
HSLhsl(278, 84%, 78%)
HSVhsv(278, 38%, 96%)
CMYKcmyk(13.8%, 38.2%, 0%, 3.5%)
CIE-LABlab(71.63, 38.98, -38.40)
CIE-LCHlch(71.63, 54.71, 315.43°)
OKLaboklab(77.11% 0.0975 -0.106)
OKLCHoklch(77.11% 0.144 312.6)
XYZxyz(55.0114, 43.1083, 92.5937)
Luminance0.4311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D498F6 #BAF698
analogous
#A598F6 #D498F6 #F698E9
triadic
#D498F6 #F6D498 #98F6D4
tetradic
#D498F6 #F6A598 #BAF698 #98E9F6
square
#D498F6 #F6A598 #BAF698 #98E9F6
split-complementary
#D498F6 #E9F698 #98F6A5
monochromatic
#A527EC #BD60F1 #D498F6 #EBD0FB #F3E3FD

Accessibility & contrast

On white

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

On black

9.62
#D498F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D498F6
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D498F6#FFFFFF#000000##000000
##D498F61.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#87ACFA
Deuteranopia (green-blind)
#95B1F3
Tritanopia (blue-blind)
#D1A5BC
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d498f6;
/* rgb */ color: rgb(212, 152, 246);
/* oklch */ color: oklch(77.1% 0.144 312.6);
Tailwind
colors: {
  custom: {
    50: '#e2b7f9',
    500: '#d498f6',
    950: '#000000',
  },
}
SCSS
$custom: #d498f6;
$custom-light: #e2b7f9;
$custom-dark: #000000;
JSON
{
  "hex": "#d498f6",
  "rgb": {
    "r": 212,
    "g": 152,
    "b": 246
  },
  "hsl": {
    "h": 278.298,
    "s": 83.929,
    "l": 78.039
  },
  "oklch": {
    "l": 0.77109,
    "c": 0.14403,
    "h": 312.6
  },
  "luminance": 0.43107
}

Semantic roles & 50–950 ramp

primary
#D498F6
secondary
#E1F4D7
accent
#E00554
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#151117
muted
#848085

Preview Lab

Preview with #D498F6

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

Preview Lab → · Contrast checker → · Palette generator →

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