#D097FE#D097FE

#D097FE is a light, vivid violet. Relative luminance 0.427; OKLCH L 76.9% C 0.154 H 308.6°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#D097FE
RGBrgb(208, 151, 254)
HSLhsl(273, 98%, 79%)
HSVhsv(273, 41%, 100%)
CMYKcmyk(18.1%, 40.6%, 0%, 0.4%)
CIE-LABlab(71.35, 40.06, -43.21)
CIE-LCHlch(71.35, 58.92, 312.83°)
OKLaboklab(76.92% 0.0959 -0.1199)
OKLCHoklch(76.92% 0.154 308.6)
XYZxyz(54.9650, 42.6995, 99.0930)
Luminance0.4270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D097FE #C5FE97
analogous
#9D97FE #D097FE #FE97F8
triadic
#D097FE #FED097 #97FED0
tetradic
#D097FE #FE9D97 #C5FE97 #97F8FE
square
#D097FE #FE9D97 #C5FE97 #97F8FE
split-complementary
#D097FE #F8FE97 #97FE9D
monochromatic
#991EFD #B55AFD #D097FE #EBD4FF #F1E1FF

Accessibility & contrast

On white

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

On black

9.54
#D097FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D097FE
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D097FE#FFFFFF#000000##000000
##D097FE1.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#81ACFF
Deuteranopia (green-blind)
#8EB0FB
Tritanopia (blue-blind)
#CAA7BF
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d097fe;
/* rgb */ color: rgb(208, 151, 254);
/* oklch */ color: oklch(76.9% 0.154 308.6);
Tailwind
colors: {
  custom: {
    50: '#e0b6ff',
    500: '#d097fe',
    950: '#000000',
  },
}
SCSS
$custom: #d097fe;
$custom-light: #e0b6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d097fe",
  "rgb": {
    "r": 208,
    "g": 151,
    "b": 254
  },
  "hsl": {
    "h": 273.204,
    "s": 98.095,
    "l": 79.412
  },
  "oklch": {
    "l": 0.7692,
    "c": 0.15352,
    "h": 308.6
  },
  "luminance": 0.42699
}

Semantic roles & 50–950 ramp

primary
#D097FE
secondary
#E4F7D4
accent
#E60066
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #D097FE

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

Preview Lab → · Contrast checker → · Palette generator →

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