#A648E7#A648E7

#A648E7 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.8% C 0.232 H 307.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#A648E7
RGBrgb(166, 72, 231)
HSLhsl(275, 77%, 59%)
HSVhsv(275, 69%, 91%)
CMYKcmyk(28.1%, 68.8%, 0%, 9.4%)
CIE-LABlab(50.11, 64.55, -64.55)
CIE-LCHlch(50.11, 91.28, 315.00°)
OKLaboklab(59.84% 0.1424 -0.1829)
OKLCHoklch(59.84% 0.232 307.9)
XYZxyz(32.4641, 18.5117, 77.4487)
Luminance0.1851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A648E7 #89E748
analogous
#5748E7 #A648E7 #E748D8
triadic
#A648E7 #E7A648 #48E7A6
tetradic
#A648E7 #E75748 #89E748 #48D8E7
square
#A648E7 #E75748 #89E748 #48D8E7
split-complementary
#A648E7 #D8E748 #48E757
monochromatic
#6715A0 #8A1CD6 #A648E7 #C07EEE #DBB4F5

Accessibility & contrast

On white

4.47
#A648E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#A648E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A648E7
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A648E7#FFFFFF#000000##000000
##A648E71.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074EC
Deuteranopia (green-blind)
#1F78E4
Tritanopia (blue-blind)
#9C6B92
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a648e7;
/* rgb */ color: rgb(166, 72, 231);
/* oklch */ color: oklch(59.8% 0.232 307.9);
Tailwind
colors: {
  custom: {
    50: '#c582ef',
    500: '#a648e7',
    950: '#000000',
  },
}
SCSS
$custom: #a648e7;
$custom-light: #c582ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a648e7",
  "rgb": {
    "r": 166,
    "g": 72,
    "b": 231
  },
  "hsl": {
    "h": 275.472,
    "s": 76.812,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59844,
    "c": 0.23184,
    "h": 307.9
  },
  "luminance": 0.18511
}

Semantic roles & 50–950 ramp

primary
#A648E7
secondary
#C0E4A6
accent
#F33482
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A648E7

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

Preview Lab → · Contrast checker → · Palette generator →

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