#A848D9#A848D9

#A848D9 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 59.1% C 0.219 H 312.0°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#A848D9
RGBrgb(168, 72, 217)
HSLhsl(280, 66%, 57%)
HSVhsv(280, 67%, 85%)
CMYKcmyk(22.6%, 66.8%, 0%, 14.9%)
CIE-LABlab(49.46, 61.97, -57.65)
CIE-LCHlch(49.46, 84.64, 317.07°)
OKLaboklab(59.14% 0.1464 -0.1626)
OKLCHoklch(59.14% 0.219 312)
XYZxyz(30.9879, 17.9701, 67.4684)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A848D9 #79D948
analogous
#6048D9 #A848D9 #D948C2
triadic
#A848D9 #D9A848 #48D9A8
tetradic
#A848D9 #D96048 #79D948 #48C2D9
square
#A848D9 #D96048 #79D948 #48C2D9
split-complementary
#A848D9 #C2D948 #48D960
monochromatic
#651D8A #8A27BD #A848D9 #C07BE4 #D8ADEE

Accessibility & contrast

On white

4.57
#A848D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#A848D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A848D9
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A848D9#FFFFFF#000000##000000
##A848D91.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071DD
Deuteranopia (green-blind)
#3978D6
Tritanopia (blue-blind)
#A2668B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a848d9;
/* rgb */ color: rgb(168, 72, 217);
/* oklch */ color: oklch(59.1% 0.219 312.0);
Tailwind
colors: {
  custom: {
    50: '#c682e5',
    500: '#a848d9',
    950: '#000000',
  },
}
SCSS
$custom: #a848d9;
$custom-light: #c682e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a848d9",
  "rgb": {
    "r": 168,
    "g": 72,
    "b": 217
  },
  "hsl": {
    "h": 279.724,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.59143,
    "c": 0.21878,
    "h": 312
  },
  "luminance": 0.17969
}

Semantic roles & 50–950 ramp

primary
#A848D9
secondary
#B5DCA1
accent
#E93F78
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A848D9

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

Preview Lab → · Contrast checker → · Palette generator →

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