#A848E4#A848E4

#A848E4 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.9% C 0.229 H 309.3°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#A848E4
RGBrgb(168, 72, 228)
HSLhsl(277, 74%, 59%)
HSVhsv(277, 68%, 89%)
CMYKcmyk(26.3%, 68.4%, 0%, 10.6%)
CIE-LABlab(50.17, 64.30, -62.74)
CIE-LCHlch(50.17, 89.84, 315.70°)
OKLaboklab(59.88% 0.1453 -0.1776)
OKLCHoklch(59.88% 0.229 309.3)
XYZxyz(32.4666, 18.5616, 75.2562)
Luminance0.1856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A848E4 #84E448
analogous
#5A48E4 #A848E4 #E448D2
triadic
#A848E4 #E4A848 #48E4A8
tetradic
#A848E4 #E45A48 #84E448 #48D2E4
square
#A848E4 #E45A48 #84E448 #48D2E4
split-complementary
#A848E4 #D2E448 #48E45A
monochromatic
#68179B #8C1FD0 #A848E4 #C17DEC #DBB3F4

Accessibility & contrast

On white

4.46
#A848E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#A848E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A848E4
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A848E4#FFFFFF#000000##000000
##A848E41.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E9
Deuteranopia (green-blind)
#2A79E1
Tritanopia (blue-blind)
#9F6A91
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a848e4;
/* rgb */ color: rgb(168, 72, 228);
/* oklch */ color: oklch(59.9% 0.229 309.3);
Tailwind
colors: {
  custom: {
    50: '#c682ed',
    500: '#a848e4',
    950: '#000000',
  },
}
SCSS
$custom: #a848e4;
$custom-light: #c682ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a848e4",
  "rgb": {
    "r": 168,
    "g": 72,
    "b": 228
  },
  "hsl": {
    "h": 276.923,
    "s": 74.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59878,
    "c": 0.22946,
    "h": 309.3
  },
  "luminance": 0.18561
}

Semantic roles & 50–950 ramp

primary
#A848E4
secondary
#BDE3A5
accent
#F1377E
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #A848E4

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

Preview Lab → · Contrast checker → · Palette generator →

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