#A643DD#A643DD

#A643DD is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.6% C 0.228 H 310.7°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#A643DD
RGBrgb(166, 67, 221)
HSLhsl(279, 69%, 56%)
HSVhsv(279, 70%, 87%)
CMYKcmyk(24.9%, 69.7%, 0%, 13.3%)
CIE-LABlab(48.69, 64.53, -61.18)
CIE-LCHlch(48.69, 88.92, 316.53°)
OKLaboklab(58.62% 0.1487 -0.173)
OKLCHoklch(58.62% 0.228 310.7)
XYZxyz(30.7817, 17.3425, 70.1185)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A643DD #7ADD43
analogous
#5943DD #A643DD #DD43C7
triadic
#A643DD #DDA643 #43DDA6
tetradic
#A643DD #DD5943 #7ADD43 #43C7DD
square
#A643DD #DD5943 #7ADD43 #43C7DD
split-complementary
#A643DD #C7DD43 #43DD59
monochromatic
#63198C #8823C0 #A643DD #BF77E6 #D7ABF0

Accessibility & contrast

On white

4.70
#A643DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#A643DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A643DD
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A643DD#FFFFFF#000000##FFFFFF
##A643DD1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE1
Deuteranopia (green-blind)
#2A75DA
Tritanopia (blue-blind)
#9F658C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a643dd;
/* rgb */ color: rgb(166, 67, 221);
/* oklch */ color: oklch(58.6% 0.228 310.7);
Tailwind
colors: {
  custom: {
    50: '#c57fe8',
    500: '#a643dd',
    950: '#000000',
  },
}
SCSS
$custom: #a643dd;
$custom-light: #c57fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#a643dd",
  "rgb": {
    "r": 166,
    "g": 67,
    "b": 221
  },
  "hsl": {
    "h": 278.571,
    "s": 69.369,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58618,
    "c": 0.22812,
    "h": 310.7
  },
  "luminance": 0.17342
}

Semantic roles & 50–950 ramp

primary
#A643DD
secondary
#B5DE9E
accent
#EC3C7B
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A643DD

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

Preview Lab → · Contrast checker → · Palette generator →

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