#D498FA#D498FA

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

Color values

HEX#D498FA
RGBrgb(212, 152, 250)
HSLhsl(277, 91%, 79%)
HSVhsv(277, 39%, 98%)
CMYKcmyk(15.2%, 39.2%, 0%, 2%)
CIE-LABlab(71.80, 39.81, -40.31)
CIE-LCHlch(71.80, 56.66, 314.64°)
OKLaboklab(77.29% 0.0983 -0.1115)
OKLCHoklch(77.29% 0.149 311.4)
XYZxyz(55.6319, 43.3566, 95.8619)
Luminance0.4336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D498FA #BEFA98
analogous
#A398FA #D498FA #FA98EF
triadic
#D498FA #FAD498 #98FAD4
tetradic
#D498FA #FAA398 #BEFA98 #98EFFA
square
#D498FA #FAA398 #BEFA98 #98EFFA
split-complementary
#D498FA #EFFA98 #98FAA3
monochromatic
#A323F4 #BC5EF7 #D498FA #ECD2FD #F3E2FE

Accessibility & contrast

On white

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

On black

9.67
#D498FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D498FA
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D498FA#FFFFFF#000000##000000
##D498FA1.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#85ADFE
Deuteranopia (green-blind)
#94B1F7
Tritanopia (blue-blind)
#D0A6BD
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d498fa;
/* rgb */ color: rgb(212, 152, 250);
/* oklch */ color: oklch(77.3% 0.149 311.4);
Tailwind
colors: {
  custom: {
    50: '#e2b7fc',
    500: '#d498fa',
    950: '#000000',
  },
}
SCSS
$custom: #d498fa;
$custom-light: #e2b7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d498fa",
  "rgb": {
    "r": 212,
    "g": 152,
    "b": 250
  },
  "hsl": {
    "h": 276.735,
    "s": 90.741,
    "l": 78.824
  },
  "oklch": {
    "l": 0.77291,
    "c": 0.14865,
    "h": 311.4
  },
  "luminance": 0.43356
}

Semantic roles & 50–950 ramp

primary
#D498FA
secondary
#E2F6D5
accent
#E60059
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#151117
muted
#848085

Preview Lab

Preview with #D498FA

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

Preview Lab → · Contrast checker → · Palette generator →

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