#A648E1#A648E1

#A648E1 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.4% C 0.226 H 309.3°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#A648E1
RGBrgb(166, 72, 225)
HSLhsl(277, 72%, 58%)
HSVhsv(277, 68%, 88%)
CMYKcmyk(26.2%, 68%, 0%, 11.8%)
CIE-LABlab(49.71, 63.25, -61.80)
CIE-LCHlch(49.71, 88.43, 315.67°)
OKLaboklab(59.43% 0.1431 -0.1749)
OKLCHoklch(59.43% 0.226 309.3)
XYZxyz(31.6311, 18.1786, 73.0621)
Luminance0.1818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A648E1 #83E148
analogous
#5948E1 #A648E1 #E148CF
triadic
#A648E1 #E1A648 #48E1A6
tetradic
#A648E1 #E15948 #83E148 #48CFE1
square
#A648E1 #E15948 #83E148 #48CFE1
split-complementary
#A648E1 #CFE148 #48E159
monochromatic
#661996 #8921CB #A648E1 #C07DEA #D9B1F2

Accessibility & contrast

On white

4.53
#A648E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#A648E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A648E1
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A648E1#FFFFFF#000000##000000
##A648E11.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E6
Deuteranopia (green-blind)
#2B77DE
Tritanopia (blue-blind)
#9D698F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a648e1;
/* rgb */ color: rgb(166, 72, 225);
/* oklch */ color: oklch(59.4% 0.226 309.3);
Tailwind
colors: {
  custom: {
    50: '#c582eb',
    500: '#a648e1',
    950: '#000000',
  },
}
SCSS
$custom: #a648e1;
$custom-light: #c582eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a648e1",
  "rgb": {
    "r": 166,
    "g": 72,
    "b": 225
  },
  "hsl": {
    "h": 276.863,
    "s": 71.831,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59432,
    "c": 0.22595,
    "h": 309.3
  },
  "luminance": 0.18178
}

Semantic roles & 50–950 ramp

primary
#A648E1
secondary
#BBE1A4
accent
#EF397F
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A648E1

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

Preview Lab → · Contrast checker → · Palette generator →

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