#A848ED#A848ED

#A848ED is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.5% C 0.238 H 307.2°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#A848ED
RGBrgb(168, 72, 237)
HSLhsl(275, 82%, 61%)
HSVhsv(275, 70%, 93%)
CMYKcmyk(29.1%, 69.6%, 0%, 7.1%)
CIE-LABlab(50.77, 66.24, -66.84)
CIE-LCHlch(50.77, 94.10, 314.74°)
OKLaboklab(60.5% 0.1442 -0.1896)
OKLCHoklch(60.5% 0.238 307.2)
XYZxyz(33.7486, 19.0744, 82.0082)
Luminance0.1907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A848ED #8DED48
analogous
#5548ED #A848ED #ED48E0
triadic
#A848ED #EDA848 #48EDA8
tetradic
#A848ED #ED5548 #8DED48 #48E0ED
square
#A848ED #ED5548 #8DED48 #48E0ED
split-complementary
#A848ED #E0ED48 #48ED55
monochromatic
#6A11AA #8D16E2 #A848ED #C280F2 #DDB7F8

Accessibility & contrast

On white

4.36
#A848ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#A848ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A848ED
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A848ED#FFFFFF#000000##000000
##A848ED1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076F2
Deuteranopia (green-blind)
#137AE9
Tritanopia (blue-blind)
#9D6E96
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a848ed;
/* rgb */ color: rgb(168, 72, 237);
/* oklch */ color: oklch(60.5% 0.238 307.2);
Tailwind
colors: {
  custom: {
    50: '#c782f4',
    500: '#a848ed',
    950: '#000000',
  },
}
SCSS
$custom: #a848ed;
$custom-light: #c782f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a848ed",
  "rgb": {
    "r": 168,
    "g": 72,
    "b": 237
  },
  "hsl": {
    "h": 274.909,
    "s": 82.09,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60499,
    "c": 0.23822,
    "h": 307.2
  },
  "luminance": 0.19074
}

Semantic roles & 50–950 ramp

primary
#A848ED
secondary
#C3E8A9
accent
#DE0761
background
#FCF8FF
surface
#F9EFFE
border
#D2CAD6
text
#140B17
muted
#827C85

Preview Lab

Preview with #A848ED

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

Preview Lab → · Contrast checker → · Palette generator →

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