#A648D9#A648D9

#A648D9 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.9% C 0.218 H 311.3°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#A648D9
RGBrgb(166, 72, 217)
HSLhsl(279, 66%, 57%)
HSVhsv(279, 67%, 85%)
CMYKcmyk(23.5%, 66.8%, 0%, 14.9%)
CIE-LABlab(49.19, 61.55, -58.09)
CIE-LCHlch(49.19, 84.63, 316.66°)
OKLaboklab(58.9% 0.1439 -0.164)
OKLCHoklch(58.9% 0.218 311.3)
XYZxyz(30.5653, 17.7522, 67.4486)
Luminance0.1775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A648D9 #7BD948
analogous
#5E48D9 #A648D9 #D948C3
triadic
#A648D9 #D9A648 #48D9A6
tetradic
#A648D9 #D95E48 #7BD948 #48C3D9
square
#A648D9 #D95E48 #7BD948 #48C3D9
split-complementary
#A648D9 #C3D948 #48D95E
monochromatic
#641D8A #8827BD #A648D9 #BF7BE4 #D7ADEE

Accessibility & contrast

On white

4.62
#A648D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#A648D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A648D9
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A648D9#FFFFFF#000000##FFFFFF
##A648D91.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DD
Deuteranopia (green-blind)
#3777D6
Tritanopia (blue-blind)
#A0668B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a648d9;
/* rgb */ color: rgb(166, 72, 217);
/* oklch */ color: oklch(58.9% 0.218 311.3);
Tailwind
colors: {
  custom: {
    50: '#c582e5',
    500: '#a648d9',
    950: '#000000',
  },
}
SCSS
$custom: #a648d9;
$custom-light: #c582e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a648d9",
  "rgb": {
    "r": 166,
    "g": 72,
    "b": 217
  },
  "hsl": {
    "h": 278.897,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58897,
    "c": 0.21813,
    "h": 311.3
  },
  "luminance": 0.17751
}

Semantic roles & 50–950 ramp

primary
#A648D9
secondary
#B6DCA1
accent
#E93F7B
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A648D9

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

Preview Lab → · Contrast checker → · Palette generator →

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