#A648DF#A648DF

#A648DF is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.3% C 0.224 H 309.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#A648DF
RGBrgb(166, 72, 223)
HSLhsl(277, 70%, 58%)
HSVhsv(277, 68%, 87%)
CMYKcmyk(25.6%, 67.7%, 0%, 12.5%)
CIE-LABlab(49.58, 62.82, -60.88)
CIE-LCHlch(49.58, 87.48, 315.90°)
OKLaboklab(59.3% 0.1433 -0.1722)
OKLCHoklch(59.3% 0.224 309.8)
XYZxyz(31.3599, 18.0701, 71.6336)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A648DF #81DF48
analogous
#5A48DF #A648DF #DF48CD
triadic
#A648DF #DFA648 #48DFA6
tetradic
#A648DF #DF5A48 #81DF48 #48CDDF
square
#A648DF #DF5A48 #81DF48 #48CDDF
split-complementary
#A648DF #CDDF48 #48DF5A
monochromatic
#651A93 #8923C7 #A648DF #BF7CE8 #D9B0F1

Accessibility & contrast

On white

4.55
#A648DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#A648DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A648DF
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A648DF#FFFFFF#000000##000000
##A648DF1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E3
Deuteranopia (green-blind)
#2E77DC
Tritanopia (blue-blind)
#9E688E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a648df;
/* rgb */ color: rgb(166, 72, 223);
/* oklch */ color: oklch(59.3% 0.224 309.8);
Tailwind
colors: {
  custom: {
    50: '#c582ea',
    500: '#a648df',
    950: '#000000',
  },
}
SCSS
$custom: #a648df;
$custom-light: #c582ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a648df",
  "rgb": {
    "r": 166,
    "g": 72,
    "b": 223
  },
  "hsl": {
    "h": 277.351,
    "s": 70.233,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59297,
    "c": 0.224,
    "h": 309.8
  },
  "luminance": 0.18069
}

Semantic roles & 50–950 ramp

primary
#A648DF
secondary
#BAE0A3
accent
#ED3B7E
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A648DF

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

Preview Lab → · Contrast checker → · Palette generator →

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