#D299FE#D299FE

#D299FE is a light, vivid violet. Relative luminance 0.436; OKLCH L 77.4% C 0.151 H 309.2°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#D299FE
RGBrgb(210, 153, 254)
HSLhsl(274, 98%, 80%)
HSVhsv(274, 40%, 100%)
CMYKcmyk(17.3%, 39.8%, 0%, 0.4%)
CIE-LABlab(71.99, 39.55, -42.20)
CIE-LCHlch(71.99, 57.84, 313.14°)
OKLaboklab(77.45% 0.0954 -0.117)
OKLCHoklch(77.45% 0.151 309.2)
XYZxyz(55.8556, 43.6406, 99.2277)
Luminance0.4364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D299FE #C5FE99
analogous
#9F99FE #D299FE #FE99F8
triadic
#D299FE #FED299 #99FED2
tetradic
#D299FE #FE9F99 #C5FE99 #99F8FE
square
#D299FE #FE9F99 #C5FE99 #99F8FE
split-complementary
#D299FE #F8FE99 #99FE9F
monochromatic
#9D20FD #B75CFD #D299FE #EDD6FF #F2E1FF

Accessibility & contrast

On white

2.16
#D299FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#D299FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D299FE
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D299FE#FFFFFF#000000##000000
##D299FE1.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#84AEFF
Deuteranopia (green-blind)
#91B1FB
Tritanopia (blue-blind)
#CDA8C0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d299fe;
/* rgb */ color: rgb(210, 153, 254);
/* oklch */ color: oklch(77.4% 0.151 309.2);
Tailwind
colors: {
  custom: {
    50: '#e1b8ff',
    500: '#d299fe',
    950: '#000000',
  },
}
SCSS
$custom: #d299fe;
$custom-light: #e1b8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d299fe",
  "rgb": {
    "r": 210,
    "g": 153,
    "b": 254
  },
  "hsl": {
    "h": 273.861,
    "s": 98.058,
    "l": 79.804
  },
  "oklch": {
    "l": 0.77446,
    "c": 0.15094,
    "h": 309.2
  },
  "luminance": 0.4364
}

Semantic roles & 50–950 ramp

primary
#D299FE
secondary
#E3F7D4
accent
#E60064
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #D299FE

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

Preview Lab → · Contrast checker → · Palette generator →

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