#D299FA#D299FA

#D299FA is a light, vivid violet. Relative luminance 0.434; OKLCH L 77.3% C 0.146 H 310.3°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#D299FA
RGBrgb(210, 153, 250)
HSLhsl(275, 91%, 79%)
HSVhsv(275, 39%, 98%)
CMYKcmyk(16%, 38.8%, 0%, 2%)
CIE-LABlab(71.82, 38.69, -40.30)
CIE-LCHlch(71.82, 55.87, 313.84°)
OKLaboklab(77.26% 0.0946 -0.1115)
OKLCHoklch(77.26% 0.146 310.3)
XYZxyz(55.2218, 43.3870, 95.8894)
Luminance0.4339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D299FA #C1FA99
analogous
#A299FA #D299FA #FA99F1
triadic
#D299FA #FAD299 #99FAD2
tetradic
#D299FA #FAA299 #C1FA99 #99F1FA
square
#D299FA #FAA299 #C1FA99 #99F1FA
split-complementary
#D299FA #F1FA99 #99FAA2
monochromatic
#9F24F4 #B85FF7 #D299FA #ECD3FD #F2E2FE

Accessibility & contrast

On white

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

On black

9.68
#D299FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D299FA
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D299FA#FFFFFF#000000##000000
##D299FA1.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#86ADFE
Deuteranopia (green-blind)
#93B1F7
Tritanopia (blue-blind)
#CDA7BE
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d299fa;
/* rgb */ color: rgb(210, 153, 250);
/* oklch */ color: oklch(77.3% 0.146 310.3);
Tailwind
colors: {
  custom: {
    50: '#e1b8fc',
    500: '#d299fa',
    950: '#000000',
  },
}
SCSS
$custom: #d299fa;
$custom-light: #e1b8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d299fa",
  "rgb": {
    "r": 210,
    "g": 153,
    "b": 250
  },
  "hsl": {
    "h": 275.258,
    "s": 90.654,
    "l": 79.02
  },
  "oklch": {
    "l": 0.77261,
    "c": 0.14623,
    "h": 310.3
  },
  "luminance": 0.43386
}

Semantic roles & 50–950 ramp

primary
#D299FA
secondary
#E3F6D5
accent
#E6005F
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #D299FA

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

Preview Lab → · Contrast checker → · Palette generator →

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