#A843E2#A843E2

#A843E2 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 59.2% C 0.233 H 310.2°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#A843E2
RGBrgb(168, 67, 226)
HSLhsl(278, 73%, 57%)
HSVhsv(278, 70%, 89%)
CMYKcmyk(25.7%, 70.4%, 0%, 11.4%)
CIE-LABlab(49.29, 65.98, -63.03)
CIE-LCHlch(49.29, 91.25, 316.31°)
OKLaboklab(59.21% 0.1506 -0.1784)
OKLCHoklch(59.21% 0.233 310.2)
XYZxyz(31.8804, 17.8308, 73.6990)
Luminance0.1783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A843E2 #7DE243
analogous
#5843E2 #A843E2 #E243CD
triadic
#A843E2 #E2A843 #43E2A8
tetradic
#A843E2 #E25843 #7DE243 #43CDE2
square
#A843E2 #E25843 #7DE243 #43CDE2
split-complementary
#A843E2 #CDE243 #43E258
monochromatic
#661794 #8B1FC9 #A843E2 #C178EA #D9ADF2

Accessibility & contrast

On white

4.60
#A843E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A843E2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A843E2#FFFFFF#000000##FFFFFF
##A843E21.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E7
Deuteranopia (green-blind)
#2577DF
Tritanopia (blue-blind)
#A0668E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a843e2;
/* rgb */ color: rgb(168, 67, 226);
/* oklch */ color: oklch(59.2% 0.233 310.2);
Tailwind
colors: {
  custom: {
    50: '#c77fec',
    500: '#a843e2',
    950: '#000000',
  },
}
SCSS
$custom: #a843e2;
$custom-light: #c77fec;
$custom-dark: #000000;
JSON
{
  "hex": "#a843e2",
  "rgb": {
    "r": 168,
    "g": 67,
    "b": 226
  },
  "hsl": {
    "h": 278.113,
    "s": 73.272,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59208,
    "c": 0.23345,
    "h": 310.2
  },
  "luminance": 0.1783
}

Semantic roles & 50–950 ramp

primary
#A843E2
secondary
#B8E1A0
accent
#F0387B
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #A843E2

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

Preview Lab → · Contrast checker → · Palette generator →

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