#A648DB#A648DB

#A648DB is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 59.0% C 0.220 H 310.8°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#A648DB
RGBrgb(166, 72, 219)
HSLhsl(278, 67%, 57%)
HSVhsv(278, 67%, 86%)
CMYKcmyk(24.2%, 67.1%, 0%, 14.1%)
CIE-LABlab(49.32, 61.97, -59.02)
CIE-LCHlch(49.32, 85.58, 316.40°)
OKLaboklab(59.03% 0.1437 -0.1667)
OKLCHoklch(59.03% 0.22 310.8)
XYZxyz(30.8270, 17.8569, 68.8269)
Luminance0.1786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A648DB #7DDB48
analogous
#5D48DB #A648DB #DB48C7
triadic
#A648DB #DBA648 #48DBA6
tetradic
#A648DB #DB5D48 #7DDB48 #48C7DB
square
#A648DB #DB5D48 #7DDB48 #48C7DB
split-complementary
#A648DB #C7DB48 #48DB5D
monochromatic
#641C8D #8826C0 #A648DB #BF7BE5 #D8AEEF

Accessibility & contrast

On white

4.59
#A648DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#A648DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A648DB
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A648DB#FFFFFF#000000##FFFFFF
##A648DB1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DF
Deuteranopia (green-blind)
#3477D8
Tritanopia (blue-blind)
#9F678C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a648db;
/* rgb */ color: rgb(166, 72, 219);
/* oklch */ color: oklch(59.0% 0.220 310.8);
Tailwind
colors: {
  custom: {
    50: '#c582e7',
    500: '#a648db',
    950: '#000000',
  },
}
SCSS
$custom: #a648db;
$custom-light: #c582e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a648db",
  "rgb": {
    "r": 166,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 278.367,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59029,
    "c": 0.22008,
    "h": 310.8
  },
  "luminance": 0.17856
}

Semantic roles & 50–950 ramp

primary
#A648DB
secondary
#B7DDA2
accent
#EA3E7C
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A648DB

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

Preview Lab → · Contrast checker → · Palette generator →

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