#D2A0F8#D2A0F8

#D2A0F8 is a light, vivid violet. Relative luminance 0.456; OKLCH L 78.4% C 0.132 H 309.6°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#D2A0F8
RGBrgb(210, 160, 248)
HSLhsl(274, 86%, 80%)
HSVhsv(274, 35%, 97%)
CMYKcmyk(15.3%, 35.5%, 0%, 2.7%)
CIE-LABlab(73.30, 34.48, -36.90)
CIE-LCHlch(73.30, 50.51, 313.05°)
OKLaboklab(78.36% 0.0843 -0.1018)
OKLCHoklch(78.36% 0.132 309.6)
XYZxyz(56.0894, 45.6212, 94.6397)
Luminance0.4562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2A0F8 #C6F8A0
analogous
#A6A0F8 #D2A0F8 #F8A0F2
triadic
#D2A0F8 #F8D2A0 #A0F8D2
tetradic
#D2A0F8 #F8A6A0 #C6F8A0 #A0F2F8
square
#D2A0F8 #F8A6A0 #C6F8A0 #A0F2F8
split-complementary
#D2A0F8 #F2F8A0 #A0F8A6
monochromatic
#9C2EF0 #B767F4 #D2A0F8 #EDD9FC #F2E2FD

Accessibility & contrast

On white

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

On black

10.12
#D2A0F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2A0F8
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2A0F8#FFFFFF#000000##000000
##D2A0F81.002.0710.1210.12
#FFFFFF2.071.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FB2FB
Deuteranopia (green-blind)
#9AB5F5
Tritanopia (blue-blind)
#CEADC1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d2a0f8;
/* rgb */ color: rgb(210, 160, 248);
/* oklch */ color: oklch(78.4% 0.132 309.6);
Tailwind
colors: {
  custom: {
    50: '#e1bcfb',
    500: '#d2a0f8',
    950: '#000000',
  },
}
SCSS
$custom: #d2a0f8;
$custom-light: #e1bcfb;
$custom-dark: #000000;
JSON
{
  "hex": "#d2a0f8",
  "rgb": {
    "r": 210,
    "g": 160,
    "b": 248
  },
  "hsl": {
    "h": 274.091,
    "s": 86.275,
    "l": 80
  },
  "oklch": {
    "l": 0.78356,
    "c": 0.13218,
    "h": 309.6
  },
  "luminance": 0.45621
}

Semantic roles & 50–950 ramp

primary
#D2A0F8
secondary
#E3F5D6
accent
#E30363
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #D2A0F8

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

Preview Lab → · Contrast checker → · Palette generator →

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