#A643E2#A643E2

#A643E2 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 59.0% C 0.233 H 309.5°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#A643E2
RGBrgb(166, 67, 226)
HSLhsl(277, 73%, 57%)
HSVhsv(277, 70%, 89%)
CMYKcmyk(26.5%, 70.4%, 0%, 11.4%)
CIE-LABlab(49.02, 65.59, -63.48)
CIE-LCHlch(49.02, 91.27, 315.94°)
OKLaboklab(58.96% 0.148 -0.1798)
OKLCHoklch(58.96% 0.233 309.5)
XYZxyz(31.4578, 17.6129, 73.6792)
Luminance0.1761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A643E2 #7FE243
analogous
#5643E2 #A643E2 #E243CF
triadic
#A643E2 #E2A643 #43E2A6
tetradic
#A643E2 #E25643 #7FE243 #43CFE2
square
#A643E2 #E25643 #7FE243 #43CFE2
split-complementary
#A643E2 #CFE243 #43E256
monochromatic
#651794 #891FC9 #A643E2 #BF78EA #D8ADF2

Accessibility & contrast

On white

4.64
#A643E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#A643E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A643E2
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A643E2#FFFFFF#000000##FFFFFF
##A643E21.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E7
Deuteranopia (green-blind)
#2176DF
Tritanopia (blue-blind)
#9D678E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a643e2;
/* rgb */ color: rgb(166, 67, 226);
/* oklch */ color: oklch(59.0% 0.233 309.5);
Tailwind
colors: {
  custom: {
    50: '#c57fec',
    500: '#a643e2',
    950: '#000000',
  },
}
SCSS
$custom: #a643e2;
$custom-light: #c57fec;
$custom-dark: #000000;
JSON
{
  "hex": "#a643e2",
  "rgb": {
    "r": 166,
    "g": 67,
    "b": 226
  },
  "hsl": {
    "h": 277.358,
    "s": 73.272,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58962,
    "c": 0.23289,
    "h": 309.5
  },
  "luminance": 0.17612
}

Semantic roles & 50–950 ramp

primary
#A643E2
secondary
#B9E1A0
accent
#F0387D
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A643E2

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

Preview Lab → · Contrast checker → · Palette generator →

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