#D097EB#D097EB

#D097EB is a light, vivid purple. Relative luminance 0.415; OKLCH L 76.1% C 0.131 H 314.5°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#D097EB
RGBrgb(208, 151, 235)
HSLhsl(281, 68%, 76%)
HSVhsv(281, 36%, 92%)
CMYKcmyk(11.5%, 35.7%, 0%, 7.8%)
CIE-LABlab(70.55, 36.05, -34.09)
CIE-LCHlch(70.55, 49.62, 316.60°)
OKLaboklab(76.06% 0.092 -0.0937)
OKLCHoklch(76.06% 0.131 314.5)
XYZxyz(52.0721, 41.5423, 83.8565)
Luminance0.4154 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D097EB #B2EB97
analogous
#A697EB #D097EB #EB97DC
triadic
#D097EB #EBD097 #97EBD0
tetradic
#D097EB #EBA697 #B2EB97 #97DCEB
square
#D097EB #EBA697 #B2EB97 #97DCEB
split-complementary
#D097EB #DCEB97 #97EBA6
monochromatic
#A230D7 #B964E1 #D097EB #E7CAF5 #F3E5FA

Accessibility & contrast

On white

2.26
#D097EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#D097EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D097EB
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D097EB#FFFFFF#000000##000000
##D097EB1.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A9EE
Deuteranopia (green-blind)
#97AEE8
Tritanopia (blue-blind)
#CEA2B6
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d097eb;
/* rgb */ color: rgb(208, 151, 235);
/* oklch */ color: oklch(76.1% 0.131 314.5);
Tailwind
colors: {
  custom: {
    50: '#dfb6f1',
    500: '#d097eb',
    950: '#000000',
  },
}
SCSS
$custom: #d097eb;
$custom-light: #dfb6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d097eb",
  "rgb": {
    "r": 208,
    "g": 151,
    "b": 235
  },
  "hsl": {
    "h": 280.714,
    "s": 67.742,
    "l": 75.686
  },
  "oklch": {
    "l": 0.76057,
    "c": 0.13132,
    "h": 314.5
  },
  "luminance": 0.41541
}

Semantic roles & 50–950 ramp

primary
#D097EB
secondary
#E1F2D9
accent
#D01652
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #D097EB

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

Preview Lab → · Contrast checker → · Palette generator →

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