#A645DA#A645DA

#A645DA is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.6% C 0.223 H 311.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#A645DA
RGBrgb(166, 69, 218)
HSLhsl(279, 67%, 56%)
HSVhsv(279, 68%, 85%)
CMYKcmyk(23.9%, 68.3%, 0%, 14.5%)
CIE-LABlab(48.79, 63.06, -59.30)
CIE-LCHlch(48.79, 86.57, 316.76°)
OKLaboklab(58.63% 0.1469 -0.1675)
OKLCHoklch(58.63% 0.223 311.3)
XYZxyz(30.5065, 17.4259, 68.0726)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A645DA #79DA45
analogous
#5C45DA #A645DA #DA45C4
triadic
#A645DA #DAA645 #45DAA6
tetradic
#A645DA #DA5C45 #79DA45 #45C4DA
square
#A645DA #DA5C45 #79DA45 #45C4DA
split-complementary
#A645DA #C4DA45 #45DA5C
monochromatic
#631B89 #8825BC #A645DA #BE78E4 #D7ABEE

Accessibility & contrast

On white

4.68
#A645DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#A645DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A645DA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A645DA#FFFFFF#000000##FFFFFF
##A645DA1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDE
Deuteranopia (green-blind)
#3276D7
Tritanopia (blue-blind)
#9F658A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a645da;
/* rgb */ color: rgb(166, 69, 218);
/* oklch */ color: oklch(58.6% 0.223 311.3);
Tailwind
colors: {
  custom: {
    50: '#c580e6',
    500: '#a645da',
    950: '#000000',
  },
}
SCSS
$custom: #a645da;
$custom-light: #c580e6;
$custom-dark: #000000;
JSON
{
  "hex": "#a645da",
  "rgb": {
    "r": 166,
    "g": 69,
    "b": 218
  },
  "hsl": {
    "h": 279.06,
    "s": 66.816,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58629,
    "c": 0.22284,
    "h": 311.3
  },
  "luminance": 0.17425
}

Semantic roles & 50–950 ramp

primary
#A645DA
secondary
#B4DC9F
accent
#EA3E7A
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A645DA

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

Preview Lab → · Contrast checker → · Palette generator →

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