#D299FB#D299FB

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

Color values

HEX#D299FB
RGBrgb(210, 153, 251)
HSLhsl(275, 92%, 79%)
HSVhsv(275, 39%, 98%)
CMYKcmyk(16.3%, 39%, 0%, 1.6%)
CIE-LABlab(71.86, 38.91, -40.77)
CIE-LCHlch(71.86, 56.36, 313.66°)
OKLaboklab(77.31% 0.0948 -0.1128)
OKLCHoklch(77.31% 0.147 310)
XYZxyz(55.3790, 43.4499, 96.7174)
Luminance0.4345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D299FB #C2FB99
analogous
#A199FB #D299FB #FB99F3
triadic
#D299FB #FBD299 #99FBD2
tetradic
#D299FB #FBA199 #C2FB99 #99F3FB
square
#D299FB #FBA199 #C2FB99 #99F3FB
split-complementary
#D299FB #F3FB99 #99FBA1
monochromatic
#9E23F6 #B85EF9 #D299FB #ECD4FD #F2E2FE

Accessibility & contrast

On white

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

On black

9.69
#D299FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D299FB
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D299FB#FFFFFF#000000##000000
##D299FB1.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#85ADFF
Deuteranopia (green-blind)
#93B1F8
Tritanopia (blue-blind)
#CDA7BE
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d299fb;
/* rgb */ color: rgb(210, 153, 251);
/* oklch */ color: oklch(77.3% 0.147 310.0);
Tailwind
colors: {
  custom: {
    50: '#e1b8fd',
    500: '#d299fb',
    950: '#000000',
  },
}
SCSS
$custom: #d299fb;
$custom-light: #e1b8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d299fb",
  "rgb": {
    "r": 210,
    "g": 153,
    "b": 251
  },
  "hsl": {
    "h": 274.898,
    "s": 92.453,
    "l": 79.216
  },
  "oklch": {
    "l": 0.77307,
    "c": 0.1474,
    "h": 310
  },
  "luminance": 0.43449
}

Semantic roles & 50–950 ramp

primary
#D299FB
secondary
#E3F6D5
accent
#E60060
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #D299FB

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

Preview Lab → · Contrast checker → · Palette generator →

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