#D299FD#D299FD

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

Color values

HEX#D299FD
RGBrgb(210, 153, 253)
HSLhsl(274, 96%, 80%)
HSVhsv(274, 40%, 99%)
CMYKcmyk(17%, 39.5%, 0%, 0.8%)
CIE-LABlab(71.94, 39.33, -41.73)
CIE-LCHlch(71.94, 57.34, 313.31°)
OKLaboklab(77.4% 0.0952 -0.1156)
OKLCHoklch(77.4% 0.15 309.5)
XYZxyz(55.6959, 43.5767, 98.3865)
Luminance0.4358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D299FD #C4FD99
analogous
#A099FD #D299FD #FD99F6
triadic
#D299FD #FDD299 #99FDD2
tetradic
#D299FD #FDA099 #C4FD99 #99F6FD
square
#D299FD #FDA099 #C4FD99 #99F6FD
split-complementary
#D299FD #F6FD99 #99FDA0
monochromatic
#9D21FB #B85DFC #D299FD #ECD5FE #F2E1FE

Accessibility & contrast

On white

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

On black

9.72
#D299FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D299FD
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D299FD#FFFFFF#000000##000000
##D299FD1.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#84AEFF
Deuteranopia (green-blind)
#92B1FA
Tritanopia (blue-blind)
#CDA8BF
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d299fd;
/* rgb */ color: rgb(210, 153, 253);
/* oklch */ color: oklch(77.4% 0.150 309.5);
Tailwind
colors: {
  custom: {
    50: '#e1b8fe',
    500: '#d299fd',
    950: '#000000',
  },
}
SCSS
$custom: #d299fd;
$custom-light: #e1b8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d299fd",
  "rgb": {
    "r": 210,
    "g": 153,
    "b": 253
  },
  "hsl": {
    "h": 274.2,
    "s": 96.154,
    "l": 79.608
  },
  "oklch": {
    "l": 0.77399,
    "c": 0.14975,
    "h": 309.5
  },
  "luminance": 0.43576
}

Semantic roles & 50–950 ramp

primary
#D299FD
secondary
#E3F7D4
accent
#E60063
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #D299FD

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

Preview Lab → · Contrast checker → · Palette generator →

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