#A948DC#A948DC

#A948DC is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.5% C 0.222 H 311.6°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#A948DC
RGBrgb(169, 72, 220)
HSLhsl(279, 68%, 57%)
HSVhsv(279, 67%, 86%)
CMYKcmyk(23.2%, 67.3%, 0%, 13.7%)
CIE-LABlab(49.78, 62.81, -58.83)
CIE-LCHlch(49.78, 86.06, 316.88°)
OKLaboklab(59.46% 0.1474 -0.166)
OKLCHoklch(59.46% 0.222 311.6)
XYZxyz(31.5954, 18.2378, 69.5521)
Luminance0.1824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A948DC #7BDC48
analogous
#5F48DC #A948DC #DC48C5
triadic
#A948DC #DCA948 #48DCA9
tetradic
#A948DC #DC5F48 #7BDC48 #48C5DC
square
#A948DC #DC5F48 #7BDC48 #48C5DC
split-complementary
#A948DC #C5DC48 #48DC5F
monochromatic
#671B8E #8C25C2 #A948DC #C17BE6 #D9AFF0

Accessibility & contrast

On white

4.52
#A948DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#A948DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A948DC
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A948DC#FFFFFF#000000##000000
##A948DC1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#3778D9
Tritanopia (blue-blind)
#A3678C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a948dc;
/* rgb */ color: rgb(169, 72, 220);
/* oklch */ color: oklch(59.5% 0.222 311.6);
Tailwind
colors: {
  custom: {
    50: '#c782e8',
    500: '#a948dc',
    950: '#000000',
  },
}
SCSS
$custom: #a948dc;
$custom-light: #c782e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a948dc",
  "rgb": {
    "r": 169,
    "g": 72,
    "b": 220
  },
  "hsl": {
    "h": 279.324,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59464,
    "c": 0.22201,
    "h": 311.6
  },
  "luminance": 0.18237
}

Semantic roles & 50–950 ramp

primary
#A948DC
secondary
#B7DEA2
accent
#EB3D79
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A948DC

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

Preview Lab → · Contrast checker → · Palette generator →

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