#D296FB#D296FB

#D296FB is a light, vivid violet. Relative luminance 0.425; OKLCH L 76.8% C 0.152 H 310.5°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#D296FB
RGBrgb(210, 150, 251)
HSLhsl(276, 93%, 79%)
HSVhsv(276, 40%, 98%)
CMYKcmyk(16.3%, 40.2%, 0%, 1.6%)
CIE-LABlab(71.20, 40.52, -41.80)
CIE-LCHlch(71.20, 58.22, 314.11°)
OKLaboklab(76.81% 0.099 -0.1158)
OKLCHoklch(76.81% 0.152 310.5)
XYZxyz(54.8942, 42.4802, 96.5558)
Luminance0.4248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D296FB #BFFB96
analogous
#9F96FB #D296FB #FB96F1
triadic
#D296FB #FBD296 #96FBD2
tetradic
#D296FB #FB9F96 #BFFB96 #96F1FB
square
#D296FB #FB9F96 #BFFB96 #96F1FB
split-complementary
#D296FB #F1FB96 #96FB9F
monochromatic
#9F20F7 #B95BF9 #D296FB #EBD1FD #F2E2FE

Accessibility & contrast

On white

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

On black

9.50
#D296FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D296FB
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D296FB#FFFFFF#000000##000000
##D296FB1.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#82ABFF
Deuteranopia (green-blind)
#90AFF8
Tritanopia (blue-blind)
#CDA5BD
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d296fb;
/* rgb */ color: rgb(210, 150, 251);
/* oklch */ color: oklch(76.8% 0.152 310.5);
Tailwind
colors: {
  custom: {
    50: '#e1b6fd',
    500: '#d296fb',
    950: '#000000',
  },
}
SCSS
$custom: #d296fb;
$custom-light: #e1b6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d296fb",
  "rgb": {
    "r": 210,
    "g": 150,
    "b": 251
  },
  "hsl": {
    "h": 275.644,
    "s": 92.661,
    "l": 78.627
  },
  "oklch": {
    "l": 0.7681,
    "c": 0.15236,
    "h": 310.5
  },
  "luminance": 0.42479
}

Semantic roles & 50–950 ramp

primary
#D296FB
secondary
#E2F6D5
accent
#E6005D
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #D296FB

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

Preview Lab → · Contrast checker → · Palette generator →

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