#A74DDA#A74DDA

#A74DDA is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.7% C 0.213 H 310.9°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#A74DDA
RGBrgb(167, 77, 218)
HSLhsl(278, 66%, 58%)
HSVhsv(278, 65%, 85%)
CMYKcmyk(23.4%, 64.7%, 0%, 14.5%)
CIE-LABlab(50.20, 59.73, -57.03)
CIE-LCHlch(50.20, 82.58, 316.32°)
OKLaboklab(59.67% 0.1395 -0.1609)
OKLCHoklch(59.67% 0.213 310.9)
XYZxyz(31.2427, 18.5859, 68.2577)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74DDA #80DA4D
analogous
#614DDA #A74DDA #DA4DC6
triadic
#A74DDA #DAA74D #4DDAA7
tetradic
#A74DDA #DA614D #80DA4D #4DC6DA
square
#A74DDA #DA614D #80DA4D #4DC6DA
split-complementary
#A74DDA #C6DA4D #4DDA61
monochromatic
#661E8F #8A28C2 #A74DDA #C080E5 #D9B2EF

Accessibility & contrast

On white

4.45
#A74DDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#A74DDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A74DDA
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74DDA#FFFFFF#000000##000000
##A74DDA1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073DE
Deuteranopia (green-blind)
#3D79D7
Tritanopia (blue-blind)
#A1698D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a74dda;
/* rgb */ color: rgb(167, 77, 218);
/* oklch */ color: oklch(59.7% 0.213 310.9);
Tailwind
colors: {
  custom: {
    50: '#c584e6',
    500: '#a74dda',
    950: '#000000',
  },
}
SCSS
$custom: #a74dda;
$custom-light: #c584e6;
$custom-dark: #000000;
JSON
{
  "hex": "#a74dda",
  "rgb": {
    "r": 167,
    "g": 77,
    "b": 218
  },
  "hsl": {
    "h": 278.298,
    "s": 65.581,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59667,
    "c": 0.21295,
    "h": 310.9
  },
  "luminance": 0.18585
}

Semantic roles & 50–950 ramp

primary
#A74DDA
secondary
#BADEA5
accent
#E93F7C
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A74DDA

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

Preview Lab → · Contrast checker → · Palette generator →

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