#A74DDE#A74DDE

#A74DDE is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.9% C 0.217 H 309.9°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#A74DDE
RGBrgb(167, 77, 222)
HSLhsl(277, 69%, 59%)
HSVhsv(277, 65%, 87%)
CMYKcmyk(24.8%, 65.3%, 0%, 12.9%)
CIE-LABlab(50.45, 60.59, -58.90)
CIE-LCHlch(50.45, 84.50, 315.81°)
OKLaboklab(59.93% 0.1393 -0.1664)
OKLCHoklch(59.93% 0.217 309.9)
XYZxyz(31.7725, 18.7978, 71.0477)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74DDE #84DE4D
analogous
#5E4DDE #A74DDE #DE4DCD
triadic
#A74DDE #DEA74D #4DDEA7
tetradic
#A74DDE #DE5E4D #84DE4D #4DCDDE
square
#A74DDE #DE5E4D #84DE4D #4DCDDE
split-complementary
#A74DDE #CDDE4D #4DDE5E
monochromatic
#671C95 #8B25C9 #A74DDE #C181E8 #DAB4F1

Accessibility & contrast

On white

4.41
#A74DDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#A74DDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A74DDE
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74DDE#FFFFFF#000000##000000
##A74DDE1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E2
Deuteranopia (green-blind)
#3879DB
Tritanopia (blue-blind)
#9F6B8F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a74dde;
/* rgb */ color: rgb(167, 77, 222);
/* oklch */ color: oklch(59.9% 0.217 309.9);
Tailwind
colors: {
  custom: {
    50: '#c585e9',
    500: '#a74dde',
    950: '#000000',
  },
}
SCSS
$custom: #a74dde;
$custom-light: #c585e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a74dde",
  "rgb": {
    "r": 167,
    "g": 77,
    "b": 222
  },
  "hsl": {
    "h": 277.241,
    "s": 68.72,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59927,
    "c": 0.21695,
    "h": 309.9
  },
  "luminance": 0.18797
}

Semantic roles & 50–950 ramp

primary
#A74DDE
secondary
#BCE0A7
accent
#EC3C7F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A74DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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