#A648D7#A648D7

#A648D7 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.8% C 0.216 H 311.8°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#A648D7
RGBrgb(166, 72, 215)
HSLhsl(279, 64%, 56%)
HSVhsv(279, 67%, 84%)
CMYKcmyk(22.8%, 66.5%, 0%, 15.7%)
CIE-LABlab(49.07, 61.13, -57.15)
CIE-LCHlch(49.07, 83.68, 316.93°)
OKLaboklab(58.77% 0.144 -0.1612)
OKLCHoklch(58.77% 0.216 311.8)
XYZxyz(30.3067, 17.6488, 66.0869)
Luminance0.1765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A648D7 #79D748
analogous
#5F48D7 #A648D7 #D748C0
triadic
#A648D7 #D7A648 #48D7A6
tetradic
#A648D7 #D75F48 #79D748 #48C0D7
square
#A648D7 #D75F48 #79D748 #48C0D7
split-complementary
#A648D7 #C0D748 #48D75F
monochromatic
#631E87 #8829B9 #A648D7 #BE7AE2 #D7ACED

Accessibility & contrast

On white

4.64
#A648D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#A648D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A648D7
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A648D7#FFFFFF#000000##FFFFFF
##A648D71.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DB
Deuteranopia (green-blind)
#3976D4
Tritanopia (blue-blind)
#A0658A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a648d7;
/* rgb */ color: rgb(166, 72, 215);
/* oklch */ color: oklch(58.8% 0.216 311.8);
Tailwind
colors: {
  custom: {
    50: '#c482e4',
    500: '#a648d7',
    950: '#000000',
  },
}
SCSS
$custom: #a648d7;
$custom-light: #c482e4;
$custom-dark: #000000;
JSON
{
  "hex": "#a648d7",
  "rgb": {
    "r": 166,
    "g": 72,
    "b": 215
  },
  "hsl": {
    "h": 279.441,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58765,
    "c": 0.21617,
    "h": 311.8
  },
  "luminance": 0.17648
}

Semantic roles & 50–950 ramp

primary
#A648D7
secondary
#B4DBA0
accent
#E7417A
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A648D7

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

Preview Lab → · Contrast checker → · Palette generator →

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