#DFA2FA#DFA2FA

#DFA2FA is a light, vivid purple. Relative luminance 0.484; OKLCH L 80.0% C 0.137 H 315.1°. Best body text is #000000 at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#DFA2FA
RGBrgb(223, 162, 250)
HSLhsl(282, 90%, 81%)
HSVhsv(282, 35%, 98%)
CMYKcmyk(10.8%, 35.2%, 0%, 2%)
CIE-LABlab(75.10, 37.70, -35.10)
CIE-LCHlch(75.10, 51.51, 317.04°)
OKLaboklab(80.04% 0.0967 -0.0964)
OKLCHoklch(80.04% 0.137 315.1)
XYZxyz(60.6044, 48.4320, 96.5797)
Luminance0.4843 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFA2FA #BDFAA2
analogous
#B3A2FA #DFA2FA #FAA2E9
triadic
#DFA2FA #FADFA2 #A2FADF
tetradic
#DFA2FA #FAB3A2 #BDFAA2 #A2E9FA
square
#DFA2FA #FAB3A2 #BDFAA2 #A2E9FA
split-complementary
#DFA2FA #E9FAA2 #A2FAB3
monochromatic
#B72EF4 #CB68F7 #DFA2FA #F3DCFD #F5E2FD

Accessibility & contrast

On white

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

On black

10.69
#DFA2FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFA2FA
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFA2FA#FFFFFF#000000##000000
##DFA2FA1.001.9710.6910.69
#FFFFFF1.971.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B5FD
Deuteranopia (green-blind)
#A3BBF7
Tritanopia (blue-blind)
#DEADC3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #dfa2fa;
/* rgb */ color: rgb(223, 162, 250);
/* oklch */ color: oklch(80.0% 0.137 315.1);
Tailwind
colors: {
  custom: {
    50: '#eabefc',
    500: '#dfa2fa',
    950: '#000000',
  },
}
SCSS
$custom: #dfa2fa;
$custom-light: #eabefc;
$custom-dark: #000000;
JSON
{
  "hex": "#dfa2fa",
  "rgb": {
    "r": 223,
    "g": 162,
    "b": 250
  },
  "hsl": {
    "h": 281.591,
    "s": 89.796,
    "l": 80.784
  },
  "oklch": {
    "l": 0.80038,
    "c": 0.13656,
    "h": 315.1
  },
  "luminance": 0.48431
}

Semantic roles & 50–950 ramp

primary
#DFA2FA
secondary
#DFF6D5
accent
#E60046
background
#FEFBFF
surface
#FDF7FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #DFA2FA

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

Preview Lab → · Contrast checker → · Palette generator →

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