#A74DD9#A74DD9

#A74DD9 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.6% C 0.212 H 311.2°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#A74DD9
RGBrgb(167, 77, 217)
HSLhsl(279, 65%, 58%)
HSVhsv(279, 65%, 85%)
CMYKcmyk(23%, 64.5%, 0%, 14.9%)
CIE-LABlab(50.14, 59.52, -56.56)
CIE-LCHlch(50.14, 82.11, 316.46°)
OKLaboklab(59.6% 0.1396 -0.1595)
OKLCHoklch(59.6% 0.212 311.2)
XYZxyz(31.1123, 18.5337, 67.5706)
Luminance0.1853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74DD9 #7FD94D
analogous
#614DD9 #A74DD9 #D94DC5
triadic
#A74DD9 #D9A74D #4DD9A7
tetradic
#A74DD9 #D9614D #7FD94D #4DC5D9
square
#A74DD9 #D9614D #7FD94D #4DC5D9
split-complementary
#A74DD9 #C5D94D #4DD961
monochromatic
#661E8D #8A29C0 #A74DD9 #C07FE4 #D9B2EF

Accessibility & contrast

On white

4.46
#A74DD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#A74DD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A74DD9
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74DD9#FFFFFF#000000##000000
##A74DD91.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073DD
Deuteranopia (green-blind)
#3E79D6
Tritanopia (blue-blind)
#A1698C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a74dd9;
/* rgb */ color: rgb(167, 77, 217);
/* oklch */ color: oklch(59.6% 0.212 311.2);
Tailwind
colors: {
  custom: {
    50: '#c584e5',
    500: '#a74dd9',
    950: '#000000',
  },
}
SCSS
$custom: #a74dd9;
$custom-light: #c584e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a74dd9",
  "rgb": {
    "r": 167,
    "g": 77,
    "b": 217
  },
  "hsl": {
    "h": 278.571,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59602,
    "c": 0.21194,
    "h": 311.2
  },
  "luminance": 0.18533
}

Semantic roles & 50–950 ramp

primary
#A74DD9
secondary
#B9DDA5
accent
#E8407C
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A74DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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