#A648E5#A648E5

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

Color values

HEX#A648E5
RGBrgb(166, 72, 229)
HSLhsl(276, 75%, 59%)
HSVhsv(276, 69%, 90%)
CMYKcmyk(27.5%, 68.6%, 0%, 10.2%)
CIE-LABlab(49.98, 64.11, -63.63)
CIE-LCHlch(49.98, 90.33, 315.22°)
OKLaboklab(59.71% 0.1426 -0.1803)
OKLCHoklch(59.71% 0.23 308.4)
XYZxyz(32.1832, 18.3994, 75.9696)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A648E5 #87E548
analogous
#5848E5 #A648E5 #E548D5
triadic
#A648E5 #E5A648 #48E5A6
tetradic
#A648E5 #E55848 #87E548 #48D5E5
square
#A648E5 #E55848 #87E548 #48D5E5
split-complementary
#A648E5 #D5E548 #48E558
monochromatic
#67169C #8A1ED2 #A648E5 #C07EED #DAB3F4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A648E5#FFFFFF#000000##000000
##A648E51.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)
#0073EA
Deuteranopia (green-blind)
#2378E2
Tritanopia (blue-blind)
#9C6B91
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a648e5;
/* rgb */ color: rgb(166, 72, 229);
/* oklch */ color: oklch(59.7% 0.230 308.4);
Tailwind
colors: {
  custom: {
    50: '#c582ee',
    500: '#a648e5',
    950: '#000000',
  },
}
SCSS
$custom: #a648e5;
$custom-light: #c582ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a648e5",
  "rgb": {
    "r": 166,
    "g": 72,
    "b": 229
  },
  "hsl": {
    "h": 275.924,
    "s": 75.12,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59706,
    "c": 0.22987,
    "h": 308.4
  },
  "luminance": 0.18399
}

Semantic roles & 50–950 ramp

primary
#A648E5
secondary
#BEE3A6
accent
#F23681
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A648E5

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

Preview Lab → · Contrast checker → · Palette generator →

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