#A748BC#A748BC

#A748BC is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.2% C 0.191 H 320.0°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#A748BC
RGBrgb(167, 72, 188)
HSLhsl(289, 46%, 51%)
HSVhsv(289, 62%, 74%)
CMYKcmyk(11.2%, 61.7%, 0%, 26.3%)
CIE-LABlab(47.60, 55.87, -43.93)
CIE-LCHlch(47.60, 71.08, 321.82°)
OKLaboklab(57.22% 0.1459 -0.1225)
OKLCHoklch(57.22% 0.191 320)
XYZxyz(27.3297, 16.4823, 49.3090)
Luminance0.1648 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A748BC #5DBC48
analogous
#6D48BC #A748BC #BC4897
triadic
#A748BC #BCA748 #48BCA7
tetradic
#A748BC #BC6D48 #5DBC48 #4897BC
square
#A748BC #BC6D48 #5DBC48 #4897BC
split-complementary
#A748BC #97BC48 #48BC6D
monochromatic
#592565 #813592 #A748BC #BD75CC #D2A2DD

Accessibility & contrast

On white

4.89
#A748BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#A748BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A748BC
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A748BC#FFFFFF#000000##FFFFFF
##A748BC1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6AC0
Deuteranopia (green-blind)
#5174B9
Tritanopia (blue-blind)
#A85B7B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a748bc;
/* rgb */ color: rgb(167, 72, 188);
/* oklch */ color: oklch(57.2% 0.191 320.0);
Tailwind
colors: {
  custom: {
    50: '#c481d1',
    500: '#a748bc',
    950: '#000000',
  },
}
SCSS
$custom: #a748bc;
$custom-light: #c481d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a748bc",
  "rgb": {
    "r": 167,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 289.138,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57221,
    "c": 0.19055,
    "h": 320
  },
  "luminance": 0.16481
}

Semantic roles & 50–950 ramp

primary
#A748BC
secondary
#A0CA96
accent
#D6526A
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A748BC

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

Preview Lab → · Contrast checker → · Palette generator →

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