#D296FD#D296FD

#D296FD is a light, vivid violet. Relative luminance 0.426; OKLCH L 76.9% C 0.155 H 310.0°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#D296FD
RGBrgb(210, 150, 253)
HSLhsl(275, 96%, 79%)
HSVhsv(275, 41%, 99%)
CMYKcmyk(17%, 40.7%, 0%, 0.8%)
CIE-LABlab(71.29, 40.95, -42.75)
CIE-LCHlch(71.29, 59.20, 313.77°)
OKLaboklab(76.9% 0.0994 -0.1185)
OKLCHoklch(76.9% 0.155 310)
XYZxyz(55.2111, 42.6070, 98.2249)
Luminance0.4261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D296FD #C1FD96
analogous
#9F96FD #D296FD #FD96F5
triadic
#D296FD #FDD296 #96FDD2
tetradic
#D296FD #FD9F96 #C1FD96 #96F5FD
square
#D296FD #FD9F96 #C1FD96 #96F5FD
split-complementary
#D296FD #F5FD96 #96FD9F
monochromatic
#9F1EFB #B85AFC #D296FD #ECD2FE #F2E1FE

Accessibility & contrast

On white

2.21
#D296FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#D296FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D296FD
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D296FD#FFFFFF#000000##000000
##D296FD1.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#81ACFF
Deuteranopia (green-blind)
#8FB0FA
Tritanopia (blue-blind)
#CDA5BE
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d296fd;
/* rgb */ color: rgb(210, 150, 253);
/* oklch */ color: oklch(76.9% 0.155 310.0);
Tailwind
colors: {
  custom: {
    50: '#e1b6fe',
    500: '#d296fd',
    950: '#000000',
  },
}
SCSS
$custom: #d296fd;
$custom-light: #e1b6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d296fd",
  "rgb": {
    "r": 210,
    "g": 150,
    "b": 253
  },
  "hsl": {
    "h": 274.951,
    "s": 96.262,
    "l": 79.02
  },
  "oklch": {
    "l": 0.76904,
    "c": 0.15469,
    "h": 310
  },
  "luminance": 0.42606
}

Semantic roles & 50–950 ramp

primary
#D296FD
secondary
#E3F7D4
accent
#E60060
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #D296FD

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

Preview Lab → · Contrast checker → · Palette generator →

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