#D296F2#D296F2

#D296F2 is a light, vivid violet. Relative luminance 0.419; OKLCH L 76.4% C 0.142 H 313.2°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#D296F2
RGBrgb(210, 150, 242)
HSLhsl(279, 78%, 77%)
HSVhsv(279, 38%, 95%)
CMYKcmyk(13.2%, 38%, 0%, 5.1%)
CIE-LABlab(70.82, 38.63, -37.49)
CIE-LCHlch(70.82, 53.83, 315.86°)
OKLaboklab(76.4% 0.0972 -0.1034)
OKLCHoklch(76.4% 0.142 313.2)
XYZxyz(53.5091, 41.9262, 89.2609)
Luminance0.4193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D296F2 #B6F296
analogous
#A496F2 #D296F2 #F296E4
triadic
#D296F2 #F2D296 #96F2D2
tetradic
#D296F2 #F2A496 #B6F296 #96E4F2
square
#D296F2 #F2A496 #B6F296 #96E4F2
split-complementary
#D296F2 #E4F296 #96F2A4
monochromatic
#A329E5 #BB60EB #D296F2 #E9CCF9 #F3E4FC

Accessibility & contrast

On white

2.24
#D296F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#D296F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D296F2
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D296F2#FFFFFF#000000##000000
##D296F21.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AAF5
Deuteranopia (green-blind)
#94AFEF
Tritanopia (blue-blind)
#CFA3B9
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d296f2;
/* rgb */ color: rgb(210, 150, 242);
/* oklch */ color: oklch(76.4% 0.142 313.2);
Tailwind
colors: {
  custom: {
    50: '#e1b6f6',
    500: '#d296f2',
    950: '#000000',
  },
}
SCSS
$custom: #d296f2;
$custom-light: #e1b6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#d296f2",
  "rgb": {
    "r": 210,
    "g": 150,
    "b": 242
  },
  "hsl": {
    "h": 279.13,
    "s": 77.966,
    "l": 76.863
  },
  "oklch": {
    "l": 0.76398,
    "c": 0.14194,
    "h": 313.2
  },
  "luminance": 0.41925
}

Semantic roles & 50–950 ramp

primary
#D296F2
secondary
#E1F3D8
accent
#DA0B53
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085

Preview Lab

Preview with #D296F2

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

Preview Lab → · Contrast checker → · Palette generator →

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