#A748DC#A748DC

#A748DC is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 59.2% C 0.221 H 310.9°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#A748DC
RGBrgb(167, 72, 220)
HSLhsl(279, 68%, 57%)
HSVhsv(279, 67%, 86%)
CMYKcmyk(24.1%, 67.3%, 0%, 13.7%)
CIE-LABlab(49.52, 62.39, -59.27)
CIE-LCHlch(49.52, 86.06, 316.47°)
OKLaboklab(59.22% 0.1449 -0.1674)
OKLCHoklch(59.22% 0.221 310.9)
XYZxyz(31.1695, 18.0182, 69.5322)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A748DC #7DDC48
analogous
#5D48DC #A748DC #DC48C7
triadic
#A748DC #DCA748 #48DCA7
tetradic
#A748DC #DC5D48 #7DDC48 #48C7DC
square
#A748DC #DC5D48 #7DDC48 #48C7DC
split-complementary
#A748DC #C7DC48 #48DC5D
monochromatic
#651B8E #8A25C2 #A748DC #C07BE6 #D8AFF0

Accessibility & contrast

On white

4.56
#A748DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#A748DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A748DC
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A748DC#FFFFFF#000000##000000
##A748DC1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071E0
Deuteranopia (green-blind)
#3477D9
Tritanopia (blue-blind)
#A0678C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a748dc;
/* rgb */ color: rgb(167, 72, 220);
/* oklch */ color: oklch(59.2% 0.221 310.9);
Tailwind
colors: {
  custom: {
    50: '#c582e8',
    500: '#a748dc',
    950: '#000000',
  },
}
SCSS
$custom: #a748dc;
$custom-light: #c582e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a748dc",
  "rgb": {
    "r": 167,
    "g": 72,
    "b": 220
  },
  "hsl": {
    "h": 278.514,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59218,
    "c": 0.22137,
    "h": 310.9
  },
  "luminance": 0.18018
}

Semantic roles & 50–950 ramp

primary
#A748DC
secondary
#B7DEA2
accent
#EB3D7B
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A748DC

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

Preview Lab → · Contrast checker → · Palette generator →

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