#D296FF#D296FF

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

Color values

HEX#D296FF
RGBrgb(210, 150, 255)
HSLhsl(274, 100%, 79%)
HSVhsv(274, 41%, 100%)
CMYKcmyk(17.6%, 41.2%, 0%, 0%)
CIE-LABlab(71.37, 41.38, -43.70)
CIE-LCHlch(71.37, 60.18, 313.44°)
OKLaboklab(77% 0.0998 -0.1213)
OKLCHoklch(77% 0.157 309.4)
XYZxyz(55.5313, 42.7351, 99.9116)
Luminance0.4273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D296FF #C3FF96
analogous
#9E96FF #D296FF #FF96F7
triadic
#D296FF #FFD296 #96FFD2
tetradic
#D296FF #FF9E96 #C3FF96 #96F7FF
square
#D296FF #FF9E96 #C3FF96 #96F7FF
split-complementary
#D296FF #F7FF96 #96FF9E
monochromatic
#9E1CFF #B859FF #D296FF #ECD3FF #F2E0FF

Accessibility & contrast

On white

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

On black

9.55
#D296FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D296FF
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D296FF#FFFFFF#000000##000000
##D296FF1.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d296ff;
/* rgb */ color: rgb(210, 150, 255);
/* oklch */ color: oklch(77.0% 0.157 309.4);
Tailwind
colors: {
  custom: {
    50: '#e1b6ff',
    500: '#d296ff',
    950: '#000000',
  },
}
SCSS
$custom: #d296ff;
$custom-light: #e1b6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d296ff",
  "rgb": {
    "r": 210,
    "g": 150,
    "b": 255
  },
  "hsl": {
    "h": 274.286,
    "s": 100,
    "l": 79.412
  },
  "oklch": {
    "l": 0.76998,
    "c": 0.15702,
    "h": 309.4
  },
  "luminance": 0.42734
}

Semantic roles & 50–950 ramp

primary
#D296FF
secondary
#E3F7D4
accent
#E60062
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#151118
muted
#848086

Preview Lab

Preview with #D296FF

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

Preview Lab → · Contrast checker → · Palette generator →

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