#D995FE#D995FE

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

Color values

HEX#D995FE
RGBrgb(217, 149, 254)
HSLhsl(279, 98%, 79%)
HSVhsv(279, 41%, 100%)
CMYKcmyk(14.6%, 41.3%, 0%, 0.4%)
CIE-LABlab(71.83, 43.69, -42.40)
CIE-LCHlch(71.83, 60.88, 315.86°)
OKLaboklab(77.49% 0.109 -0.1174)
OKLCHoklch(77.49% 0.16 312.9)
XYZxyz(57.2491, 43.4035, 99.1086)
Luminance0.4340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D995FE #BAFE95
analogous
#A595FE #D995FE #FE95EF
triadic
#D995FE #FED995 #95FED9
tetradic
#D995FE #FEA595 #BAFE95 #95EFFE
square
#D995FE #FEA595 #BAFE95 #95EFFE
split-complementary
#D995FE #EFFE95 #95FEA5
monochromatic
#AE1CFD #C358FD #D995FE #EFD2FF #F4E1FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D995FE#FFFFFF#000000##000000
##D995FE1.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)
#81ACFF
Deuteranopia (green-blind)
#92B2FB
Tritanopia (blue-blind)
#D6A4BE
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d995fe;
/* rgb */ color: rgb(217, 149, 254);
/* oklch */ color: oklch(77.5% 0.160 312.9);
Tailwind
colors: {
  custom: {
    50: '#e6b5ff',
    500: '#d995fe',
    950: '#000000',
  },
}
SCSS
$custom: #d995fe;
$custom-light: #e6b5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d995fe",
  "rgb": {
    "r": 217,
    "g": 149,
    "b": 254
  },
  "hsl": {
    "h": 278.857,
    "s": 98.131,
    "l": 79.02
  },
  "oklch": {
    "l": 0.77487,
    "c": 0.16019,
    "h": 312.9
  },
  "luminance": 0.43402
}

Semantic roles & 50–950 ramp

primary
#D995FE
secondary
#E0F7D4
accent
#E60051
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #D995FE

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

Preview Lab → · Contrast checker → · Palette generator →

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