#A848E1#A848E1

#A848E1 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.7% C 0.227 H 310.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#A848E1
RGBrgb(168, 72, 225)
HSLhsl(278, 72%, 58%)
HSVhsv(278, 68%, 88%)
CMYKcmyk(25.3%, 68%, 0%, 11.8%)
CIE-LABlab(49.97, 63.66, -61.36)
CIE-LCHlch(49.97, 88.42, 316.05°)
OKLaboklab(59.68% 0.1456 -0.1735)
OKLCHoklch(59.68% 0.227 310)
XYZxyz(32.0538, 18.3965, 73.0819)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A848E1 #81E148
analogous
#5B48E1 #A848E1 #E148CD
triadic
#A848E1 #E1A848 #48E1A8
tetradic
#A848E1 #E15B48 #81E148 #48CDE1
square
#A848E1 #E15B48 #81E148 #48CDE1
split-complementary
#A848E1 #CDE148 #48E15B
monochromatic
#671996 #8B21CB #A848E1 #C17DEA #DAB1F2

Accessibility & contrast

On white

4.49
#A848E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#A848E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A848E1
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A848E1#FFFFFF#000000##000000
##A848E11.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E6
Deuteranopia (green-blind)
#2F78DE
Tritanopia (blue-blind)
#A0698F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a848e1;
/* rgb */ color: rgb(168, 72, 225);
/* oklch */ color: oklch(59.7% 0.227 310.0);
Tailwind
colors: {
  custom: {
    50: '#c682eb',
    500: '#a848e1',
    950: '#000000',
  },
}
SCSS
$custom: #a848e1;
$custom-light: #c682eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a848e1",
  "rgb": {
    "r": 168,
    "g": 72,
    "b": 225
  },
  "hsl": {
    "h": 277.647,
    "s": 71.831,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59675,
    "c": 0.22655,
    "h": 310
  },
  "luminance": 0.18396
}

Semantic roles & 50–950 ramp

primary
#A848E1
secondary
#BBE1A4
accent
#EF397D
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A848E1

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

Preview Lab → · Contrast checker → · Palette generator →

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