#D299FC#D299FC

#D299FC is a light, vivid violet. Relative luminance 0.435; OKLCH L 77.4% C 0.149 H 309.8°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#D299FC
RGBrgb(210, 153, 252)
HSLhsl(275, 94%, 79%)
HSVhsv(275, 39%, 99%)
CMYKcmyk(16.7%, 39.3%, 0%, 1.2%)
CIE-LABlab(71.90, 39.12, -41.25)
CIE-LCHlch(71.90, 56.85, 313.48°)
OKLaboklab(77.35% 0.095 -0.1142)
OKLCHoklch(77.35% 0.149 309.8)
XYZxyz(55.5371, 43.5131, 97.5498)
Luminance0.4351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D299FC #C3FC99
analogous
#A199FC #D299FC #FC99F5
triadic
#D299FC #FCD299 #99FCD2
tetradic
#D299FC #FCA199 #C3FC99 #99F5FC
square
#D299FC #FCA199 #C3FC99 #99F5FC
split-complementary
#D299FC #F5FC99 #99FCA1
monochromatic
#9E22F9 #B85EFA #D299FC #ECD4FE #F2E1FE

Accessibility & contrast

On white

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

On black

9.70
#D299FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D299FC
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D299FC#FFFFFF#000000##000000
##D299FC1.002.169.709.70
#FFFFFF2.161.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d299fc;
/* rgb */ color: rgb(210, 153, 252);
/* oklch */ color: oklch(77.4% 0.149 309.8);
Tailwind
colors: {
  custom: {
    50: '#e1b8fd',
    500: '#d299fc',
    950: '#000000',
  },
}
SCSS
$custom: #d299fc;
$custom-light: #e1b8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d299fc",
  "rgb": {
    "r": 210,
    "g": 153,
    "b": 252
  },
  "hsl": {
    "h": 274.545,
    "s": 94.286,
    "l": 79.412
  },
  "oklch": {
    "l": 0.77353,
    "c": 0.14858,
    "h": 309.8
  },
  "luminance": 0.43512
}

Semantic roles & 50–950 ramp

primary
#D299FC
secondary
#E3F6D5
accent
#E60061
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #D299FC

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

Preview Lab → · Contrast checker → · Palette generator →

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