#D2A0FA#D2A0FA

#D2A0FA is a light, vivid violet. Relative luminance 0.457; OKLCH L 78.4% C 0.135 H 309.0°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#D2A0FA
RGBrgb(210, 160, 250)
HSLhsl(273, 90%, 80%)
HSVhsv(273, 36%, 98%)
CMYKcmyk(16%, 36%, 0%, 2%)
CIE-LABlab(73.38, 34.90, -37.86)
CIE-LCHlch(73.38, 51.50, 312.67°)
OKLaboklab(78.44% 0.0848 -0.1045)
OKLCHoklch(78.44% 0.135 309)
XYZxyz(56.4013, 45.7460, 96.2826)
Luminance0.4575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2A0FA #C8FAA0
analogous
#A5A0FA #D2A0FA #FAA0F5
triadic
#D2A0FA #FAD2A0 #A0FAD2
tetradic
#D2A0FA #FAA5A0 #C8FAA0 #A0F5FA
square
#D2A0FA #FAA5A0 #C8FAA0 #A0F5FA
split-complementary
#D2A0FA #F5FAA0 #A0FAA5
monochromatic
#9B2CF4 #B666F7 #D2A0FA #EEDAFD #F1E2FD

Accessibility & contrast

On white

2.07
#D2A0FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.15
#D2A0FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2A0FA
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2A0FA#FFFFFF#000000##000000
##D2A0FA1.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EB2FD
Deuteranopia (green-blind)
#9AB5F7
Tritanopia (blue-blind)
#CDADC2
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d2a0fa;
/* rgb */ color: rgb(210, 160, 250);
/* oklch */ color: oklch(78.4% 0.135 309.0);
Tailwind
colors: {
  custom: {
    50: '#e1bcfc',
    500: '#d2a0fa',
    950: '#000000',
  },
}
SCSS
$custom: #d2a0fa;
$custom-light: #e1bcfc;
$custom-dark: #000000;
JSON
{
  "hex": "#d2a0fa",
  "rgb": {
    "r": 210,
    "g": 160,
    "b": 250
  },
  "hsl": {
    "h": 273.333,
    "s": 90,
    "l": 80.392
  },
  "oklch": {
    "l": 0.78445,
    "c": 0.13459,
    "h": 309
  },
  "luminance": 0.45745
}

Semantic roles & 50–950 ramp

primary
#D2A0FA
secondary
#E4F6D5
accent
#E60066
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #D2A0FA

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

Preview Lab → · Contrast checker → · Palette generator →

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