#A848DB#A848DB

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

Color values

HEX#A848DB
RGBrgb(168, 72, 219)
HSLhsl(279, 67%, 57%)
HSVhsv(279, 67%, 86%)
CMYKcmyk(23.3%, 67.1%, 0%, 14.1%)
CIE-LABlab(49.59, 62.39, -58.58)
CIE-LCHlch(49.59, 85.58, 316.81°)
OKLaboklab(59.28% 0.1462 -0.1654)
OKLCHoklch(59.28% 0.221 311.5)
XYZxyz(31.2496, 18.0748, 68.8467)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A848DB #7BDB48
analogous
#5F48DB #A848DB #DB48C4
triadic
#A848DB #DBA848 #48DBA8
tetradic
#A848DB #DB5F48 #7BDB48 #48C4DB
square
#A848DB #DB5F48 #7BDB48 #48C4DB
split-complementary
#A848DB #C4DB48 #48DB5F
monochromatic
#661C8D #8B26C0 #A848DB #C07BE5 #D9AEEF

Accessibility & contrast

On white

4.55
#A848DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#A848DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A848DB
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A848DB#FFFFFF#000000##000000
##A848DB1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071DF
Deuteranopia (green-blind)
#3778D8
Tritanopia (blue-blind)
#A2668C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a848db;
/* rgb */ color: rgb(168, 72, 219);
/* oklch */ color: oklch(59.3% 0.221 311.5);
Tailwind
colors: {
  custom: {
    50: '#c682e7',
    500: '#a848db',
    950: '#000000',
  },
}
SCSS
$custom: #a848db;
$custom-light: #c682e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a848db",
  "rgb": {
    "r": 168,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 279.184,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59275,
    "c": 0.22072,
    "h": 311.5
  },
  "luminance": 0.18074
}

Semantic roles & 50–950 ramp

primary
#A848DB
secondary
#B6DDA2
accent
#EA3E7A
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A848DB

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

Preview Lab → · Contrast checker → · Palette generator →

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