#DDA7FC#DDA7FC

#DDA7FC is a light, vivid violet. Relative luminance 0.500; OKLCH L 80.8% C 0.130 H 312.7°. Best body text is #000000 at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#DDA7FC
RGBrgb(221, 167, 252)
HSLhsl(278, 93%, 82%)
HSVhsv(278, 34%, 99%)
CMYKcmyk(12.3%, 33.7%, 0%, 1.2%)
CIE-LABlab(76.09, 34.82, -34.66)
CIE-LCHlch(76.09, 49.12, 315.13°)
OKLaboklab(80.77% 0.0878 -0.0952)
OKLCHoklch(80.77% 0.13 312.7)
XYZxyz(61.2053, 50.0389, 98.5108)
Luminance0.5004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDA7FC #C6FCA7
analogous
#B3A7FC #DDA7FC #FCA7F0
triadic
#DDA7FC #FCDDA7 #A7FCDD
tetradic
#DDA7FC #FCB3A7 #C6FCA7 #A7F0FC
square
#DDA7FC #FCB3A7 #C6FCA7 #A7F0FC
split-complementary
#DDA7FC #F0FCA7 #A7FCB3
monochromatic
#AF31F8 #C66CFA #DDA7FC #F4E1FE #F4E1FE

Accessibility & contrast

On white

1.91
#DDA7FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.01
#DDA7FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDA7FC
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDA7FC#FFFFFF#000000##000000
##DDA7FC1.001.9111.0111.01
#FFFFFF1.911.0021.0021.00
#00000011.0121.001.001.00
##00000011.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B9FF
Deuteranopia (green-blind)
#A5BDF9
Tritanopia (blue-blind)
#DAB2C6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #dda7fc;
/* rgb */ color: rgb(221, 167, 252);
/* oklch */ color: oklch(80.8% 0.130 312.7);
Tailwind
colors: {
  custom: {
    50: '#e8c1fd',
    500: '#dda7fc',
    950: '#000000',
  },
}
SCSS
$custom: #dda7fc;
$custom-light: #e8c1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#dda7fc",
  "rgb": {
    "r": 221,
    "g": 167,
    "b": 252
  },
  "hsl": {
    "h": 278.118,
    "s": 93.407,
    "l": 82.157
  },
  "oklch": {
    "l": 0.80775,
    "c": 0.1295,
    "h": 312.7
  },
  "luminance": 0.50038
}

Semantic roles & 50–950 ramp

primary
#DDA7FC
secondary
#93DF68
accent
#E60054
background
#FEFDFF
surface
#FDF9FF
border
#D5D2D7
text
#161217
muted
#848285

Preview Lab

Preview with #DDA7FC

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

Preview Lab → · Contrast checker → · Palette generator →

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