#A74DDC#A74DDC

#A74DDC is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.8% C 0.215 H 310.4°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#A74DDC
RGBrgb(167, 77, 220)
HSLhsl(278, 67%, 58%)
HSVhsv(278, 65%, 86%)
CMYKcmyk(24.1%, 65%, 0%, 13.7%)
CIE-LABlab(50.32, 60.16, -57.97)
CIE-LCHlch(50.32, 83.54, 316.06°)
OKLaboklab(59.8% 0.1394 -0.1636)
OKLCHoklch(59.8% 0.215 310.4)
XYZxyz(31.5060, 18.6912, 69.6443)
Luminance0.1869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74DDC #82DC4D
analogous
#5F4DDC #A74DDC #DC4DCA
triadic
#A74DDC #DCA74D #4DDCA7
tetradic
#A74DDC #DC5F4D #82DC4D #4DCADC
square
#A74DDC #DC5F4D #82DC4D #4DCADC
split-complementary
#A74DDC #CADC4D #4DDC5F
monochromatic
#661D92 #8A27C5 #A74DDC #C080E6 #DAB3F0

Accessibility & contrast

On white

4.43
#A74DDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#A74DDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A74DDC
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74DDC#FFFFFF#000000##000000
##A74DDC1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#3A79D9
Tritanopia (blue-blind)
#A06A8E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a74ddc;
/* rgb */ color: rgb(167, 77, 220);
/* oklch */ color: oklch(59.8% 0.215 310.4);
Tailwind
colors: {
  custom: {
    50: '#c585e8',
    500: '#a74ddc',
    950: '#000000',
  },
}
SCSS
$custom: #a74ddc;
$custom-light: #c585e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a74ddc",
  "rgb": {
    "r": 167,
    "g": 77,
    "b": 220
  },
  "hsl": {
    "h": 277.762,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59797,
    "c": 0.21495,
    "h": 310.4
  },
  "luminance": 0.18691
}

Semantic roles & 50–950 ramp

primary
#A74DDC
secondary
#BBDFA6
accent
#EA3E7E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A74DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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