#A848DC#A848DC

#A848DC is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.3% C 0.222 H 311.2°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#A848DC
RGBrgb(168, 72, 220)
HSLhsl(279, 68%, 57%)
HSVhsv(279, 67%, 86%)
CMYKcmyk(23.6%, 67.3%, 0%, 13.7%)
CIE-LABlab(49.65, 62.60, -59.05)
CIE-LCHlch(49.65, 86.06, 316.68°)
OKLaboklab(59.34% 0.1461 -0.1667)
OKLCHoklch(59.34% 0.222 311.2)
XYZxyz(31.3817, 18.1276, 69.5421)
Luminance0.1813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A848DC #7CDC48
analogous
#5E48DC #A848DC #DC48C6
triadic
#A848DC #DCA848 #48DCA8
tetradic
#A848DC #DC5E48 #7CDC48 #48C6DC
square
#A848DC #DC5E48 #7CDC48 #48C6DC
split-complementary
#A848DC #C6DC48 #48DC5E
monochromatic
#661B8E #8B25C2 #A848DC #C07BE6 #D9AFF0

Accessibility & contrast

On white

4.54
#A848DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#A848DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A848DC
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A848DC#FFFFFF#000000##000000
##A848DC1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a848dc;
/* rgb */ color: rgb(168, 72, 220);
/* oklch */ color: oklch(59.3% 0.222 311.2);
Tailwind
colors: {
  custom: {
    50: '#c682e8',
    500: '#a848dc',
    950: '#000000',
  },
}
SCSS
$custom: #a848dc;
$custom-light: #c682e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a848dc",
  "rgb": {
    "r": 168,
    "g": 72,
    "b": 220
  },
  "hsl": {
    "h": 278.919,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59341,
    "c": 0.22169,
    "h": 311.2
  },
  "luminance": 0.18127
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A848DC

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

Preview Lab → · Contrast checker → · Palette generator →

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