#A648E2#A648E2

#A648E2 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.5% C 0.227 H 309.1°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#A648E2
RGBrgb(166, 72, 226)
HSLhsl(277, 73%, 58%)
HSVhsv(277, 68%, 89%)
CMYKcmyk(26.5%, 68.1%, 0%, 11.4%)
CIE-LABlab(49.78, 63.47, -62.26)
CIE-LCHlch(49.78, 88.91, 315.55°)
OKLaboklab(59.5% 0.143 -0.1762)
OKLCHoklch(59.5% 0.227 309.1)
XYZxyz(31.7680, 18.2333, 73.7826)
Luminance0.1823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A648E2 #84E248
analogous
#5948E2 #A648E2 #E248D1
triadic
#A648E2 #E2A648 #48E2A6
tetradic
#A648E2 #E25948 #84E248 #48D1E2
square
#A648E2 #E25948 #84E248 #48D1E2
split-complementary
#A648E2 #D1E248 #48E259
monochromatic
#661898 #8920CC #A648E2 #C07DEA #D9B2F3

Accessibility & contrast

On white

4.52
#A648E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#A648E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A648E2
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A648E2#FFFFFF#000000##000000
##A648E21.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E7
Deuteranopia (green-blind)
#2978DF
Tritanopia (blue-blind)
#9D6990
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a648e2;
/* rgb */ color: rgb(166, 72, 226);
/* oklch */ color: oklch(59.5% 0.227 309.1);
Tailwind
colors: {
  custom: {
    50: '#c582ec',
    500: '#a648e2',
    950: '#000000',
  },
}
SCSS
$custom: #a648e2;
$custom-light: #c582ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a648e2",
  "rgb": {
    "r": 166,
    "g": 72,
    "b": 226
  },
  "hsl": {
    "h": 276.623,
    "s": 72.642,
    "l": 58.431
  },
  "oklch": {
    "l": 0.595,
    "c": 0.22694,
    "h": 309.1
  },
  "luminance": 0.18233
}

Semantic roles & 50–950 ramp

primary
#A648E2
secondary
#BCE1A4
accent
#EF3880
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A648E2

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

Preview Lab → · Contrast checker → · Palette generator →

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