#A843DC#A843DC

#A843DC is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.8% C 0.228 H 311.6°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#A843DC
RGBrgb(168, 67, 220)
HSLhsl(280, 69%, 56%)
HSVhsv(280, 70%, 86%)
CMYKcmyk(23.6%, 69.5%, 0%, 13.7%)
CIE-LABlab(48.89, 64.73, -60.27)
CIE-LCHlch(48.89, 88.44, 317.04°)
OKLaboklab(58.8% 0.1513 -0.1703)
OKLCHoklch(58.8% 0.228 311.6)
XYZxyz(31.0715, 17.5072, 69.4387)
Luminance0.1751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A843DC #77DC43
analogous
#5C43DC #A843DC #DC43C4
triadic
#A843DC #DCA843 #43DCA8
tetradic
#A843DC #DC5C43 #77DC43 #43C4DC
square
#A843DC #DC5C43 #77DC43 #43C4DC
split-complementary
#A843DC #C4DC43 #43DC5C
monochromatic
#641A8B #8A23BE #A843DC #C077E6 #D8AAEF

Accessibility & contrast

On white

4.67
#A843DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#A843DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A843DC
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A843DC#FFFFFF#000000##FFFFFF
##A843DC1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#2F76D9
Tritanopia (blue-blind)
#A2648B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a843dc;
/* rgb */ color: rgb(168, 67, 220);
/* oklch */ color: oklch(58.8% 0.228 311.6);
Tailwind
colors: {
  custom: {
    50: '#c67fe8',
    500: '#a843dc',
    950: '#000000',
  },
}
SCSS
$custom: #a843dc;
$custom-light: #c67fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#a843dc",
  "rgb": {
    "r": 168,
    "g": 67,
    "b": 220
  },
  "hsl": {
    "h": 279.608,
    "s": 68.61,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58799,
    "c": 0.22779,
    "h": 311.6
  },
  "luminance": 0.17506
}

Semantic roles & 50–950 ramp

primary
#A843DC
secondary
#B3DD9E
accent
#EB3C78
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A843DC

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

Preview Lab → · Contrast checker → · Palette generator →

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