#A648E6#A648E6

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

Color values

HEX#A648E6
RGBrgb(166, 72, 230)
HSLhsl(276, 76%, 59%)
HSVhsv(276, 69%, 90%)
CMYKcmyk(27.8%, 68.7%, 0%, 9.8%)
CIE-LABlab(50.04, 64.33, -64.09)
CIE-LCHlch(50.04, 90.81, 315.11°)
OKLaboklab(59.78% 0.1425 -0.1816)
OKLCHoklch(59.78% 0.231 308.1)
XYZxyz(32.3232, 18.4554, 76.7070)
Luminance0.1845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A648E6 #88E648
analogous
#5748E6 #A648E6 #E648D7
triadic
#A648E6 #E6A648 #48E6A6
tetradic
#A648E6 #E65748 #88E648 #48D7E6
square
#A648E6 #E65748 #88E648 #48D7E6
split-complementary
#A648E6 #D7E648 #48E657
monochromatic
#67169E #8A1DD4 #A648E6 #C07EED #DAB4F5

Accessibility & contrast

On white

4.48
#A648E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#A648E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A648E6
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A648E6#FFFFFF#000000##000000
##A648E61.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074EB
Deuteranopia (green-blind)
#2178E3
Tritanopia (blue-blind)
#9C6B92
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a648e6;
/* rgb */ color: rgb(166, 72, 230);
/* oklch */ color: oklch(59.8% 0.231 308.1);
Tailwind
colors: {
  custom: {
    50: '#c582ef',
    500: '#a648e6',
    950: '#000000',
  },
}
SCSS
$custom: #a648e6;
$custom-light: #c582ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a648e6",
  "rgb": {
    "r": 166,
    "g": 72,
    "b": 230
  },
  "hsl": {
    "h": 275.696,
    "s": 75.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59775,
    "c": 0.23086,
    "h": 308.1
  },
  "luminance": 0.18455
}

Semantic roles & 50–950 ramp

primary
#A648E6
secondary
#BFE4A6
accent
#F33582
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A648E6

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

Preview Lab → · Contrast checker → · Palette generator →

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