#D299FF#D299FF

#D299FF is a light, vivid violet. Relative luminance 0.437; OKLCH L 77.5% C 0.152 H 308.9°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#D299FF
RGBrgb(210, 153, 255)
HSLhsl(274, 100%, 80%)
HSVhsv(274, 40%, 100%)
CMYKcmyk(17.6%, 40%, 0%, 0%)
CIE-LABlab(72.03, 39.76, -42.68)
CIE-LCHlch(72.03, 58.33, 312.98°)
OKLaboklab(77.49% 0.0956 -0.1183)
OKLCHoklch(77.49% 0.152 308.9)
XYZxyz(56.0162, 43.7048, 100.0733)
Luminance0.4370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D299FF #C6FF99
analogous
#9F99FF #D299FF #FF99F9
triadic
#D299FF #FFD299 #99FFD2
tetradic
#D299FF #FF9F99 #C6FF99 #99F9FF
square
#D299FF #FF9F99 #C6FF99 #99F9FF
split-complementary
#D299FF #F9FF99 #99FF9F
monochromatic
#9C1FFF #B75CFF #D299FF #EDD6FF #F1E0FF

Accessibility & contrast

On white

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

On black

9.74
#D299FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D299FF
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D299FF#FFFFFF#000000##000000
##D299FF1.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#83AEFF
Deuteranopia (green-blind)
#91B1FC
Tritanopia (blue-blind)
#CCA8C0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #d299ff;
/* rgb */ color: rgb(210, 153, 255);
/* oklch */ color: oklch(77.5% 0.152 308.9);
Tailwind
colors: {
  custom: {
    50: '#e1b8ff',
    500: '#d299ff',
    950: '#000000',
  },
}
SCSS
$custom: #d299ff;
$custom-light: #e1b8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d299ff",
  "rgb": {
    "r": 210,
    "g": 153,
    "b": 255
  },
  "hsl": {
    "h": 273.529,
    "s": 100,
    "l": 80
  },
  "oklch": {
    "l": 0.77493,
    "c": 0.15212,
    "h": 308.9
  },
  "luminance": 0.43704
}

Semantic roles & 50–950 ramp

primary
#D299FF
secondary
#E3F7D4
accent
#E60065
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #D299FF

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

Preview Lab → · Contrast checker → · Palette generator →

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