#DDA2FC#DDA2FC

#DDA2FC is a light, vivid violet. Relative luminance 0.482; OKLCH L 79.9% C 0.138 H 313.5°. Best body text is #000000 at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#DDA2FC
RGBrgb(221, 162, 252)
HSLhsl(279, 94%, 81%)
HSVhsv(279, 36%, 99%)
CMYKcmyk(12.3%, 35.7%, 0%, 1.2%)
CIE-LABlab(74.98, 37.50, -36.38)
CIE-LCHlch(74.98, 52.25, 315.87°)
OKLaboklab(79.93% 0.0949 -0.1001)
OKLCHoklch(79.93% 0.138 313.5)
XYZxyz(60.3069, 48.2422, 98.2113)
Luminance0.4824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDA2FC #C1FCA2
analogous
#B0A2FC #DDA2FC #FCA2EE
triadic
#DDA2FC #FCDDA2 #A2FCDD
tetradic
#DDA2FC #FCB0A2 #C1FCA2 #A2EEFC
square
#DDA2FC #FCB0A2 #C1FCA2 #A2EEFC
split-complementary
#DDA2FC #EEFCA2 #A2FCB0
monochromatic
#B22BF8 #C767FA #DDA2FC #F3DDFE #F4E1FE

Accessibility & contrast

On white

1.97
#DDA2FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.65
#DDA2FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDA2FC
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDA2FC#FFFFFF#000000##000000
##DDA2FC1.001.9710.6510.65
#FFFFFF1.971.0021.0021.00
#00000010.6521.001.001.00
##00000010.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B5FF
Deuteranopia (green-blind)
#A1BAF9
Tritanopia (blue-blind)
#DBAEC4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #dda2fc;
/* rgb */ color: rgb(221, 162, 252);
/* oklch */ color: oklch(79.9% 0.138 313.5);
Tailwind
colors: {
  custom: {
    50: '#e8befd',
    500: '#dda2fc',
    950: '#000000',
  },
}
SCSS
$custom: #dda2fc;
$custom-light: #e8befd;
$custom-dark: #000000;
JSON
{
  "hex": "#dda2fc",
  "rgb": {
    "r": 221,
    "g": 162,
    "b": 252
  },
  "hsl": {
    "h": 279.333,
    "s": 93.75,
    "l": 81.176
  },
  "oklch": {
    "l": 0.79928,
    "c": 0.13794,
    "h": 313.5
  },
  "luminance": 0.48241
}

Semantic roles & 50–950 ramp

primary
#DDA2FC
secondary
#E0F6D5
accent
#E6004F
background
#FEFBFF
surface
#FDF7FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #DDA2FC

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

Preview Lab → · Contrast checker → · Palette generator →

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