#A645E0#A645E0

#A645E0 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 59.0% C 0.229 H 309.8°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#A645E0
RGBrgb(166, 69, 224)
HSLhsl(278, 71%, 57%)
HSVhsv(278, 69%, 88%)
CMYKcmyk(25.9%, 69.2%, 0%, 12.2%)
CIE-LABlab(49.19, 64.33, -62.08)
CIE-LCHlch(49.19, 89.40, 316.02°)
OKLaboklab(59.04% 0.1463 -0.1757)
OKLCHoklch(59.04% 0.229 309.8)
XYZxyz(31.3059, 17.7457, 72.2826)
Luminance0.1774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A645E0 #7FE045
analogous
#5845E0 #A645E0 #E045CD
triadic
#A645E0 #E0A645 #45E0A6
tetradic
#A645E0 #E05845 #7FE045 #45CDE0
square
#A645E0 #E05845 #7FE045 #45CDE0
split-complementary
#A645E0 #CDE045 #45E058
monochromatic
#651892 #8921C7 #A645E0 #BF79E9 #D8AEF1

Accessibility & contrast

On white

4.62
#A645E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#A645E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A645E0
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A645E0#FFFFFF#000000##FFFFFF
##A645E01.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E5
Deuteranopia (green-blind)
#2876DD
Tritanopia (blue-blind)
#9E678E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a645e0;
/* rgb */ color: rgb(166, 69, 224);
/* oklch */ color: oklch(59.0% 0.229 309.8);
Tailwind
colors: {
  custom: {
    50: '#c580ea',
    500: '#a645e0',
    950: '#000000',
  },
}
SCSS
$custom: #a645e0;
$custom-light: #c580ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a645e0",
  "rgb": {
    "r": 166,
    "g": 69,
    "b": 224
  },
  "hsl": {
    "h": 277.548,
    "s": 71.429,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59036,
    "c": 0.22861,
    "h": 309.8
  },
  "luminance": 0.17745
}

Semantic roles & 50–950 ramp

primary
#A645E0
secondary
#B9E0A1
accent
#EE3A7D
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A645E0

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

Preview Lab → · Contrast checker → · Palette generator →

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