#A646E0#A646E0

#A646E0 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 59.1% C 0.227 H 309.7°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#A646E0
RGBrgb(166, 70, 224)
HSLhsl(277, 71%, 58%)
HSVhsv(277, 69%, 88%)
CMYKcmyk(25.9%, 68.8%, 0%, 12.2%)
CIE-LABlab(49.34, 63.90, -61.84)
CIE-LCHlch(49.34, 88.92, 315.94°)
OKLaboklab(59.14% 0.1453 -0.175)
OKLCHoklch(59.14% 0.227 309.7)
XYZxyz(31.3679, 17.8698, 72.3033)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A646E0 #80E046
analogous
#5946E0 #A646E0 #E046CD
triadic
#A646E0 #E0A646 #46E0A6
tetradic
#A646E0 #E05946 #80E046 #46CDE0
square
#A646E0 #E05946 #80E046 #46CDE0
split-complementary
#A646E0 #CDE046 #46E059
monochromatic
#651993 #8921C7 #A646E0 #BF7AE9 #D8AFF2

Accessibility & contrast

On white

4.59
#A646E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#A646E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A646E0
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A646E0#FFFFFF#000000##FFFFFF
##A646E01.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E5
Deuteranopia (green-blind)
#2A77DD
Tritanopia (blue-blind)
#9E688E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a646e0;
/* rgb */ color: rgb(166, 70, 224);
/* oklch */ color: oklch(59.1% 0.227 309.7);
Tailwind
colors: {
  custom: {
    50: '#c581ea',
    500: '#a646e0',
    950: '#000000',
  },
}
SCSS
$custom: #a646e0;
$custom-light: #c581ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a646e0",
  "rgb": {
    "r": 166,
    "g": 70,
    "b": 224
  },
  "hsl": {
    "h": 277.403,
    "s": 71.296,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59144,
    "c": 0.22742,
    "h": 309.7
  },
  "luminance": 0.17869
}

Semantic roles & 50–950 ramp

primary
#A646E0
secondary
#B9E0A2
accent
#EE3A7E
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A646E0

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

Preview Lab → · Contrast checker → · Palette generator →

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