#D296FA#D296FA

#D296FA is a light, vivid violet. Relative luminance 0.424; OKLCH L 76.8% C 0.151 H 310.8°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#D296FA
RGBrgb(210, 150, 250)
HSLhsl(276, 91%, 78%)
HSVhsv(276, 40%, 98%)
CMYKcmyk(16%, 40%, 0%, 2%)
CIE-LABlab(71.16, 40.31, -41.33)
CIE-LCHlch(71.16, 57.73, 314.29°)
OKLaboklab(76.76% 0.0988 -0.1144)
OKLCHoklch(76.76% 0.151 310.8)
XYZxyz(54.7369, 42.4173, 95.7278)
Luminance0.4242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D296FA #BEFA96
analogous
#A096FA #D296FA #FA96F0
triadic
#D296FA #FAD296 #96FAD2
tetradic
#D296FA #FAA096 #BEFA96 #96F0FA
square
#D296FA #FAA096 #BEFA96 #96F0FA
split-complementary
#D296FA #F0FA96 #96FAA0
monochromatic
#A021F4 #B95CF7 #D296FA #EBD0FD #F2E2FE

Accessibility & contrast

On white

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

On black

9.48
#D296FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D296FA
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D296FA#FFFFFF#000000##000000
##D296FA1.002.219.489.48
#FFFFFF2.211.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#82ABFE
Deuteranopia (green-blind)
#91AFF7
Tritanopia (blue-blind)
#CEA5BC
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d296fa;
/* rgb */ color: rgb(210, 150, 250);
/* oklch */ color: oklch(76.8% 0.151 310.8);
Tailwind
colors: {
  custom: {
    50: '#e1b6fc',
    500: '#d296fa',
    950: '#000000',
  },
}
SCSS
$custom: #d296fa;
$custom-light: #e1b6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d296fa",
  "rgb": {
    "r": 210,
    "g": 150,
    "b": 250
  },
  "hsl": {
    "h": 276,
    "s": 90.909,
    "l": 78.431
  },
  "oklch": {
    "l": 0.76764,
    "c": 0.15119,
    "h": 310.8
  },
  "luminance": 0.42416
}

Semantic roles & 50–950 ramp

primary
#D296FA
secondary
#E2F6D5
accent
#E6005C
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #D296FA

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

Preview Lab → · Contrast checker → · Palette generator →

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