#A848BC#A848BC

#A848BC is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.4% C 0.191 H 320.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#A848BC
RGBrgb(168, 72, 188)
HSLhsl(290, 46%, 51%)
HSVhsv(290, 62%, 74%)
CMYKcmyk(10.6%, 61.7%, 0%, 26.3%)
CIE-LABlab(47.74, 56.12, -43.70)
CIE-LCHlch(47.74, 71.13, 322.09°)
OKLaboklab(57.35% 0.1471 -0.1218)
OKLCHoklch(57.35% 0.191 320.4)
XYZxyz(27.5418, 16.5917, 49.3190)
Luminance0.1659 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A848BC #5CBC48
analogous
#6E48BC #A848BC #BC4896
triadic
#A848BC #BCA848 #48BCA8
tetradic
#A848BC #BC6E48 #5CBC48 #4896BC
square
#A848BC #BC6E48 #5CBC48 #4896BC
split-complementary
#A848BC #96BC48 #48BC6E
monochromatic
#5A2565 #823592 #A848BC #BD75CC #D3A2DD

Accessibility & contrast

On white

4.86
#A848BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#A848BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A848BC
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A848BC#FFFFFF#000000##FFFFFF
##A848BC1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6BC0
Deuteranopia (green-blind)
#5275B9
Tritanopia (blue-blind)
#A95B7B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a848bc;
/* rgb */ color: rgb(168, 72, 188);
/* oklch */ color: oklch(57.4% 0.191 320.4);
Tailwind
colors: {
  custom: {
    50: '#c581d1',
    500: '#a848bc',
    950: '#000000',
  },
}
SCSS
$custom: #a848bc;
$custom-light: #c581d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a848bc",
  "rgb": {
    "r": 168,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 289.655,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57352,
    "c": 0.19101,
    "h": 320.4
  },
  "luminance": 0.1659
}

Semantic roles & 50–950 ramp

primary
#A848BC
secondary
#9FCA96
accent
#D65269
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A848BC

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

Preview Lab → · Contrast checker → · Palette generator →

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