#D08AFF#D08AFF

#D08AFF is a light, vivid violet. Relative luminance 0.388; OKLCH L 74.9% C 0.176 H 310.4°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#D08AFF
RGBrgb(208, 138, 255)
HSLhsl(276, 100%, 77%)
HSVhsv(276, 46%, 100%)
CMYKcmyk(18.4%, 45.9%, 0%, 0%)
CIE-LABlab(68.61, 47.22, -48.06)
CIE-LCHlch(68.61, 67.37, 314.50°)
OKLaboklab(74.88% 0.1138 -0.1338)
OKLCHoklch(74.88% 0.176 310.4)
XYZxyz(53.1476, 38.8077, 99.2792)
Luminance0.3881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D08AFF #B9FF8A
analogous
#958AFF #D08AFF #FF8AF4
triadic
#D08AFF #FFD08A #8AFFD0
tetradic
#D08AFF #FF958A #B9FF8A #8AF4FF
square
#D08AFF #FF958A #B9FF8A #8AF4FF
split-complementary
#D08AFF #F4FF8A #8AFF95
monochromatic
#9F10FF #B74DFF #D08AFF #E9C7FF #F3E0FF

Accessibility & contrast

On white

2.40
#D08AFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#D08AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D08AFF
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D08AFF#FFFFFF#000000##000000
##D08AFF1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA4FF
Deuteranopia (green-blind)
#82A9FC
Tritanopia (blue-blind)
#CA9CB9
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d08aff;
/* rgb */ color: rgb(208, 138, 255);
/* oklch */ color: oklch(74.9% 0.176 310.4);
Tailwind
colors: {
  custom: {
    50: '#e0aeff',
    500: '#d08aff',
    950: '#000000',
  },
}
SCSS
$custom: #d08aff;
$custom-light: #e0aeff;
$custom-dark: #000000;
JSON
{
  "hex": "#d08aff",
  "rgb": {
    "r": 208,
    "g": 138,
    "b": 255
  },
  "hsl": {
    "h": 275.897,
    "s": 100,
    "l": 77.059
  },
  "oklch": {
    "l": 0.74881,
    "c": 0.17571,
    "h": 310.4
  },
  "luminance": 0.38807
}

Semantic roles & 50–950 ramp

primary
#D08AFF
secondary
#E2F7D4
accent
#E6005C
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#151018
muted
#847F86

Preview Lab

Preview with #D08AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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