#A645EA#A645EA

#A645EA is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.7% C 0.238 H 307.5°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#A645EA
RGBrgb(166, 69, 234)
HSLhsl(275, 80%, 59%)
HSVhsv(275, 71%, 92%)
CMYKcmyk(29.1%, 70.5%, 0%, 8.2%)
CIE-LABlab(49.86, 66.47, -66.64)
CIE-LCHlch(49.86, 94.12, 314.93°)
OKLaboklab(59.73% 0.145 -0.1891)
OKLCHoklch(59.73% 0.238 307.5)
XYZxyz(32.7022, 18.3042, 79.6362)
Luminance0.1830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A645EA #89EA45
analogous
#5445EA #A645EA #EA45DB
triadic
#A645EA #EAA645 #45EAA6
tetradic
#A645EA #EA5445 #89EA45 #45DBEA
square
#A645EA #EA5445 #89EA45 #45DBEA
split-complementary
#A645EA #DBEA45 #45EA54
monochromatic
#6712A2 #8A19D9 #A645EA #C07CF0 #DBB3F6

Accessibility & contrast

On white

4.51
#A645EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#A645EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A645EA
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A645EA#FFFFFF#000000##000000
##A645EA1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073EF
Deuteranopia (green-blind)
#0C77E7
Tritanopia (blue-blind)
#9B6B93
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a645ea;
/* rgb */ color: rgb(166, 69, 234);
/* oklch */ color: oklch(59.7% 0.238 307.5);
Tailwind
colors: {
  custom: {
    50: '#c681f2',
    500: '#a645ea',
    950: '#000000',
  },
}
SCSS
$custom: #a645ea;
$custom-light: #c681f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a645ea",
  "rgb": {
    "r": 166,
    "g": 69,
    "b": 234
  },
  "hsl": {
    "h": 275.273,
    "s": 79.71,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59732,
    "c": 0.23825,
    "h": 307.5
  },
  "luminance": 0.18304
}

Semantic roles & 50–950 ramp

primary
#A645EA
secondary
#C0E6A5
accent
#F63283
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B17
muted
#827C85

Preview Lab

Preview with #A645EA

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

Preview Lab → · Contrast checker → · Palette generator →

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