#A741DC#A741DC

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

Color values

HEX#A741DC
RGBrgb(167, 65, 220)
HSLhsl(279, 69%, 56%)
HSVhsv(279, 70%, 86%)
CMYKcmyk(24.1%, 70.5%, 0%, 13.7%)
CIE-LABlab(48.47, 65.35, -60.96)
CIE-LCHlch(48.47, 89.37, 316.99°)
OKLaboklab(58.47% 0.1521 -0.1723)
OKLCHoklch(58.47% 0.23 311.4)
XYZxyz(30.7425, 17.1642, 69.3898)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A741DC #76DC41
analogous
#5941DC #A741DC #DC41C3
triadic
#A741DC #DCA741 #41DCA7
tetradic
#A741DC #DC5941 #76DC41 #41C3DC
square
#A741DC #DC5941 #76DC41 #41C3DC
split-complementary
#A741DC #C3DC41 #41DC59
monochromatic
#631989 #8823BD #A741DC #BF75E6 #D7A8EF

Accessibility & contrast

On white

4.74
#A741DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#A741DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A741DC
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A741DC#FFFFFF#000000##FFFFFF
##A741DC1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#2B75D9
Tritanopia (blue-blind)
#A0638A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a741dc;
/* rgb */ color: rgb(167, 65, 220);
/* oklch */ color: oklch(58.5% 0.230 311.4);
Tailwind
colors: {
  custom: {
    50: '#c67ee8',
    500: '#a741dc',
    950: '#000000',
  },
}
SCSS
$custom: #a741dc;
$custom-light: #c67ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#a741dc",
  "rgb": {
    "r": 167,
    "g": 65,
    "b": 220
  },
  "hsl": {
    "h": 279.484,
    "s": 68.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.58467,
    "c": 0.22983,
    "h": 311.4
  },
  "luminance": 0.17163
}

Semantic roles & 50–950 ramp

primary
#A741DC
secondary
#B2DD9C
accent
#EC3C78
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A741DC

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

Preview Lab → · Contrast checker → · Palette generator →

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