#D498FB#D498FB

#D498FB is a light, vivid violet. Relative luminance 0.434; OKLCH L 77.3% C 0.150 H 311.1°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#D498FB
RGBrgb(212, 152, 251)
HSLhsl(276, 93%, 79%)
HSVhsv(276, 39%, 98%)
CMYKcmyk(15.5%, 39.4%, 0%, 1.6%)
CIE-LABlab(71.84, 40.02, -40.79)
CIE-LCHlch(71.84, 57.15, 314.46°)
OKLaboklab(77.34% 0.0985 -0.1128)
OKLCHoklch(77.34% 0.15 311.1)
XYZxyz(55.7891, 43.4194, 96.6899)
Luminance0.4342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D498FB #BFFB98
analogous
#A398FB #D498FB #FB98F0
triadic
#D498FB #FBD498 #98FBD4
tetradic
#D498FB #FBA398 #BFFB98 #98F0FB
square
#D498FB #FBA398 #BFFB98 #98F0FB
split-complementary
#D498FB #F0FB98 #98FBA3
monochromatic
#A322F6 #BB5DF9 #D498FB #EDD3FD #F3E2FE

Accessibility & contrast

On white

2.17
#D498FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.68
#D498FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D498FB
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D498FB#FFFFFF#000000##000000
##D498FB1.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#85ADFF
Deuteranopia (green-blind)
#93B1F8
Tritanopia (blue-blind)
#D0A6BE
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d498fb;
/* rgb */ color: rgb(212, 152, 251);
/* oklch */ color: oklch(77.3% 0.150 311.1);
Tailwind
colors: {
  custom: {
    50: '#e2b7fd',
    500: '#d498fb',
    950: '#000000',
  },
}
SCSS
$custom: #d498fb;
$custom-light: #e2b7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d498fb",
  "rgb": {
    "r": 212,
    "g": 152,
    "b": 251
  },
  "hsl": {
    "h": 276.364,
    "s": 92.523,
    "l": 79.02
  },
  "oklch": {
    "l": 0.77337,
    "c": 0.1498,
    "h": 311.1
  },
  "luminance": 0.43419
}

Semantic roles & 50–950 ramp

primary
#D498FB
secondary
#E2F6D5
accent
#E6005A
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D498FB

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

Preview Lab → · Contrast checker → · Palette generator →

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