#D299F9#D299F9

#D299F9 is a light, vivid violet. Relative luminance 0.433; OKLCH L 77.2% C 0.145 H 310.6°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#D299F9
RGBrgb(210, 153, 249)
HSLhsl(276, 89%, 79%)
HSVhsv(276, 39%, 98%)
CMYKcmyk(15.7%, 38.6%, 0%, 2.4%)
CIE-LABlab(71.77, 38.48, -39.82)
CIE-LCHlch(71.77, 55.38, 314.02°)
OKLaboklab(77.22% 0.0944 -0.1101)
OKLCHoklch(77.22% 0.145 310.6)
XYZxyz(55.0654, 43.3245, 95.0658)
Luminance0.4332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D299F9 #C0F999
analogous
#A299F9 #D299F9 #F999F0
triadic
#D299F9 #F9D299 #99F9D2
tetradic
#D299F9 #F9A299 #C0F999 #99F0F9
square
#D299F9 #F9A299 #C0F999 #99F0F9
split-complementary
#D299F9 #F0F999 #99F9A2
monochromatic
#9F25F2 #B95FF6 #D299F9 #ECD3FC #F2E2FD

Accessibility & contrast

On white

2.17
#D299F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#D299F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D299F9
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D299F9#FFFFFF#000000##000000
##D299F91.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#86ADFD
Deuteranopia (green-blind)
#94B1F6
Tritanopia (blue-blind)
#CEA7BD
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d299f9;
/* rgb */ color: rgb(210, 153, 249);
/* oklch */ color: oklch(77.2% 0.145 310.6);
Tailwind
colors: {
  custom: {
    50: '#e1b8fb',
    500: '#d299f9',
    950: '#000000',
  },
}
SCSS
$custom: #d299f9;
$custom-light: #e1b8fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d299f9",
  "rgb": {
    "r": 210,
    "g": 153,
    "b": 249
  },
  "hsl": {
    "h": 275.625,
    "s": 88.889,
    "l": 78.824
  },
  "oklch": {
    "l": 0.77215,
    "c": 0.14505,
    "h": 310.6
  },
  "luminance": 0.43324
}

Semantic roles & 50–950 ramp

primary
#D299F9
secondary
#E3F5D6
accent
#E6005D
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #D299F9

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

Preview Lab → · Contrast checker → · Palette generator →

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