#D0A2FC#D0A2FC

#D0A2FC is a light, vivid violet. Relative luminance 0.463; OKLCH L 78.7% C 0.133 H 307.0°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#D0A2FC
RGBrgb(208, 162, 252)
HSLhsl(271, 94%, 81%)
HSVhsv(271, 36%, 99%)
CMYKcmyk(17.5%, 35.7%, 0%, 1.2%)
CIE-LABlab(73.73, 33.66, -38.42)
CIE-LCHlch(73.73, 51.08, 311.22°)
OKLaboklab(78.69% 0.0801 -0.1062)
OKLCHoklch(78.69% 0.133 307)
XYZxyz(56.5001, 46.2793, 98.0329)
Luminance0.4628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0A2FC #CEFCA2
analogous
#A3A2FC #D0A2FC #FCA2FB
triadic
#D0A2FC #FCD0A2 #A2FCD0
tetradic
#D0A2FC #FCA3A2 #CEFCA2 #A2FBFC
square
#D0A2FC #FCA3A2 #CEFCA2 #A2FBFC
split-complementary
#D0A2FC #FBFCA2 #A2FCA3
monochromatic
#942BF8 #B267FA #D0A2FC #EEDDFE #F0E1FE

Accessibility & contrast

On white

2.05
#D0A2FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#D0A2FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0A2FC
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0A2FC#FFFFFF#000000##000000
##D0A2FC1.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#90B3FF
Deuteranopia (green-blind)
#99B6F9
Tritanopia (blue-blind)
#CAAFC3
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d0a2fc;
/* rgb */ color: rgb(208, 162, 252);
/* oklch */ color: oklch(78.7% 0.133 307.0);
Tailwind
colors: {
  custom: {
    50: '#dfbefd',
    500: '#d0a2fc',
    950: '#000000',
  },
}
SCSS
$custom: #d0a2fc;
$custom-light: #dfbefd;
$custom-dark: #000000;
JSON
{
  "hex": "#d0a2fc",
  "rgb": {
    "r": 208,
    "g": 162,
    "b": 252
  },
  "hsl": {
    "h": 270.667,
    "s": 93.75,
    "l": 81.176
  },
  "oklch": {
    "l": 0.7869,
    "c": 0.13302,
    "h": 307
  },
  "luminance": 0.46279
}

Semantic roles & 50–950 ramp

primary
#D0A2FC
secondary
#E5F6D5
accent
#E60070
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #D0A2FC

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

Preview Lab → · Contrast checker → · Palette generator →

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