#A643DB#A643DB

#A643DB is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.5% C 0.226 H 311.2°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#A643DB
RGBrgb(166, 67, 219)
HSLhsl(279, 68%, 56%)
HSVhsv(279, 69%, 86%)
CMYKcmyk(24.2%, 69.4%, 0%, 14.1%)
CIE-LABlab(48.56, 64.11, -60.25)
CIE-LCHlch(48.56, 87.98, 316.78°)
OKLaboklab(58.48% 0.1489 -0.1703)
OKLCHoklch(58.48% 0.226 311.2)
XYZxyz(30.5168, 17.2365, 68.7235)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A643DB #78DB43
analogous
#5A43DB #A643DB #DB43C4
triadic
#A643DB #DBA643 #43DBA6
tetradic
#A643DB #DB5A43 #78DB43 #43C4DB
square
#A643DB #DB5A43 #78DB43 #43C4DB
split-complementary
#A643DB #C4DB43 #43DB5A
monochromatic
#631A89 #8724BD #A643DB #BE76E5 #D7AAEF

Accessibility & contrast

On white

4.72
#A643DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#A643DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A643DB
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A643DB#FFFFFF#000000##FFFFFF
##A643DB1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDF
Deuteranopia (green-blind)
#2E75D8
Tritanopia (blue-blind)
#9F648A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a643db;
/* rgb */ color: rgb(166, 67, 219);
/* oklch */ color: oklch(58.5% 0.226 311.2);
Tailwind
colors: {
  custom: {
    50: '#c57fe7',
    500: '#a643db',
    950: '#000000',
  },
}
SCSS
$custom: #a643db;
$custom-light: #c57fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#a643db",
  "rgb": {
    "r": 166,
    "g": 67,
    "b": 219
  },
  "hsl": {
    "h": 279.079,
    "s": 67.857,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58482,
    "c": 0.22622,
    "h": 311.2
  },
  "luminance": 0.17236
}

Semantic roles & 50–950 ramp

primary
#A643DB
secondary
#B3DC9E
accent
#EB3D7A
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A643DB

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

Preview Lab → · Contrast checker → · Palette generator →

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