#D296FE#D296FE

#D296FE is a light, vivid violet. Relative luminance 0.427; OKLCH L 77.0% C 0.156 H 309.7°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#D296FE
RGBrgb(210, 150, 254)
HSLhsl(275, 98%, 79%)
HSVhsv(275, 41%, 100%)
CMYKcmyk(17.3%, 40.9%, 0%, 0.4%)
CIE-LABlab(71.33, 41.16, -43.23)
CIE-LCHlch(71.33, 59.69, 313.60°)
OKLaboklab(76.95% 0.0996 -0.1199)
OKLCHoklch(76.95% 0.156 309.7)
XYZxyz(55.3708, 42.6709, 99.0661)
Luminance0.4267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D296FE #C2FE96
analogous
#9E96FE #D296FE #FE96F6
triadic
#D296FE #FED296 #96FED2
tetradic
#D296FE #FE9E96 #C2FE96 #96F6FE
square
#D296FE #FE9E96 #C2FE96 #96F6FE
split-complementary
#D296FE #F6FE96 #96FE9E
monochromatic
#9E1DFD #B859FD #D296FE #ECD3FF #F2E1FF

Accessibility & contrast

On white

2.20
#D296FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#D296FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D296FE
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D296FE#FFFFFF#000000##000000
##D296FE1.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#80ACFF
Deuteranopia (green-blind)
#8FB0FB
Tritanopia (blue-blind)
#CDA6BE
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d296fe;
/* rgb */ color: rgb(210, 150, 254);
/* oklch */ color: oklch(77.0% 0.156 309.7);
Tailwind
colors: {
  custom: {
    50: '#e1b6ff',
    500: '#d296fe',
    950: '#000000',
  },
}
SCSS
$custom: #d296fe;
$custom-light: #e1b6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d296fe",
  "rgb": {
    "r": 210,
    "g": 150,
    "b": 254
  },
  "hsl": {
    "h": 274.615,
    "s": 98.113,
    "l": 79.216
  },
  "oklch": {
    "l": 0.76951,
    "c": 0.15585,
    "h": 309.7
  },
  "luminance": 0.4267
}

Semantic roles & 50–950 ramp

primary
#D296FE
secondary
#E3F7D4
accent
#E60061
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #D296FE

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

Preview Lab → · Contrast checker → · Palette generator →

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