#D492FA#D492FA

#D492FA is a light, vivid violet. Relative luminance 0.415; OKLCH L 76.3% C 0.159 H 312.3°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#D492FA
RGBrgb(212, 146, 250)
HSLhsl(278, 91%, 78%)
HSVhsv(278, 42%, 98%)
CMYKcmyk(15.2%, 41.6%, 0%, 2%)
CIE-LABlab(70.50, 43.03, -42.35)
CIE-LCHlch(70.50, 60.37, 315.46°)
OKLaboklab(76.31% 0.1067 -0.1173)
OKLCHoklch(76.31% 0.159 312.3)
XYZxyz(54.6826, 41.4580, 95.5455)
Luminance0.4146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D492FA #B8FA92
analogous
#A092FA #D492FA #FA92EC
triadic
#D492FA #FAD492 #92FAD4
tetradic
#D492FA #FAA092 #B8FA92 #92ECFA
square
#D492FA #FAA092 #B8FA92 #92ECFA
split-complementary
#D492FA #ECFA92 #92FAA0
monochromatic
#A61DF5 #BD57F7 #D492FA #EBCDFD #F3E2FE

Accessibility & contrast

On white

2.26
#D492FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#D492FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D492FA
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D492FA#FFFFFF#000000##000000
##D492FA1.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA9FE
Deuteranopia (green-blind)
#8EAEF7
Tritanopia (blue-blind)
#D0A1BA
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d492fa;
/* rgb */ color: rgb(212, 146, 250);
/* oklch */ color: oklch(76.3% 0.159 312.3);
Tailwind
colors: {
  custom: {
    50: '#e3b3fc',
    500: '#d492fa',
    950: '#000000',
  },
}
SCSS
$custom: #d492fa;
$custom-light: #e3b3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d492fa",
  "rgb": {
    "r": 212,
    "g": 146,
    "b": 250
  },
  "hsl": {
    "h": 278.077,
    "s": 91.228,
    "l": 77.647
  },
  "oklch": {
    "l": 0.76312,
    "c": 0.15858,
    "h": 312.3
  },
  "luminance": 0.41457
}

Semantic roles & 50–950 ramp

primary
#D492FA
secondary
#E1F6D5
accent
#E60054
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D492FA

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

Preview Lab → · Contrast checker → · Palette generator →

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