#A645E5#A645E5

#A645E5 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 59.4% C 0.233 H 308.6°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#A645E5
RGBrgb(166, 69, 229)
HSLhsl(276, 75%, 58%)
HSVhsv(276, 70%, 90%)
CMYKcmyk(27.5%, 69.9%, 0%, 10.2%)
CIE-LABlab(49.52, 65.39, -64.37)
CIE-LCHlch(49.52, 91.76, 315.45°)
OKLaboklab(59.38% 0.1457 -0.1824)
OKLCHoklch(59.38% 0.233 308.6)
XYZxyz(31.9940, 18.0209, 75.9065)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A645E5 #84E545
analogous
#5645E5 #A645E5 #E545D4
triadic
#A645E5 #E5A645 #45E5A6
tetradic
#A645E5 #E55645 #84E545 #45D4E5
square
#A645E5 #E55645 #84E545 #45D4E5
split-complementary
#A645E5 #D4E545 #45E556
monochromatic
#66169A #891DD0 #A645E5 #C07BED #D9B0F4

Accessibility & contrast

On white

4.56
#A645E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#A645E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A645E5
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A645E5#FFFFFF#000000##000000
##A645E51.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072EA
Deuteranopia (green-blind)
#1E77E2
Tritanopia (blue-blind)
#9C6991
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a645e5;
/* rgb */ color: rgb(166, 69, 229);
/* oklch */ color: oklch(59.4% 0.233 308.6);
Tailwind
colors: {
  custom: {
    50: '#c580ee',
    500: '#a645e5',
    950: '#000000',
  },
}
SCSS
$custom: #a645e5;
$custom-light: #c580ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a645e5",
  "rgb": {
    "r": 166,
    "g": 69,
    "b": 229
  },
  "hsl": {
    "h": 276.375,
    "s": 75.472,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59381,
    "c": 0.23343,
    "h": 308.6
  },
  "luminance": 0.1802
}

Semantic roles & 50–950 ramp

primary
#A645E5
secondary
#BCE3A3
accent
#F23680
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A645E5

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

Preview Lab → · Contrast checker → · Palette generator →

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