#D299EF#D299EF

#D299EF is a light, vivid violet. Relative luminance 0.427; OKLCH L 76.8% C 0.133 H 313.8°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#D299EF
RGBrgb(210, 153, 239)
HSLhsl(280, 73%, 77%)
HSVhsv(280, 36%, 94%)
CMYKcmyk(12.1%, 36%, 0%, 6.3%)
CIE-LABlab(71.36, 36.39, -35.01)
CIE-LCHlch(71.36, 50.50, 316.11°)
OKLaboklab(76.77% 0.0923 -0.0963)
OKLCHoklch(76.77% 0.133 313.8)
XYZxyz(53.5470, 42.7171, 87.0690)
Luminance0.4272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D299EF #B6EF99
analogous
#A799EF #D299EF #EF99E1
triadic
#D299EF #EFD299 #99EFD2
tetradic
#D299EF #EFA799 #B6EF99 #99E1EF
square
#D299EF #EFA799 #B6EF99 #99E1EF
split-complementary
#D299EF #E1EF99 #99EFA7
monochromatic
#A32FDE #BB64E7 #D299EF #E9CEF7 #F3E5FB

Accessibility & contrast

On white

2.20
#D299EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.54
#D299EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D299EF
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D299EF#FFFFFF#000000##000000
##D299EF1.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BACF2
Deuteranopia (green-blind)
#98B0EC
Tritanopia (blue-blind)
#D0A4B9
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d299ef;
/* rgb */ color: rgb(210, 153, 239);
/* oklch */ color: oklch(76.8% 0.133 313.8);
Tailwind
colors: {
  custom: {
    50: '#e1b8f4',
    500: '#d299ef',
    950: '#000000',
  },
}
SCSS
$custom: #d299ef;
$custom-light: #e1b8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d299ef",
  "rgb": {
    "r": 210,
    "g": 153,
    "b": 239
  },
  "hsl": {
    "h": 279.767,
    "s": 72.881,
    "l": 76.863
  },
  "oklch": {
    "l": 0.76768,
    "c": 0.13341,
    "h": 313.8
  },
  "luminance": 0.42716
}

Semantic roles & 50–950 ramp

primary
#D299EF
secondary
#E1F3D8
accent
#D51153
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #D299EF

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

Preview Lab → · Contrast checker → · Palette generator →

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