#A74EDC#A74EDC

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

Color values

HEX#A74EDC
RGBrgb(167, 78, 220)
HSLhsl(278, 67%, 58%)
HSVhsv(278, 65%, 86%)
CMYKcmyk(24.1%, 64.5%, 0%, 13.7%)
CIE-LABlab(50.49, 59.70, -57.70)
CIE-LCHlch(50.49, 83.03, 315.97°)
OKLaboklab(59.92% 0.1383 -0.1628)
OKLCHoklch(59.92% 0.214 310.3)
XYZxyz(31.5765, 18.8322, 69.6678)
Luminance0.1883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74EDC #83DC4E
analogous
#604EDC #A74EDC #DC4ECA
triadic
#A74EDC #DCA74E #4EDCA7
tetradic
#A74EDC #DC604E #83DC4E #4ECADC
square
#A74EDC #DC604E #83DC4E #4ECADC
split-complementary
#A74EDC #CADC4E #4EDC60
monochromatic
#671D93 #8B27C6 #A74EDC #C081E6 #DAB4F0

Accessibility & contrast

On white

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

On black

4.77
#A74EDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A74EDC
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74EDC#FFFFFF#000000##000000
##A74EDC1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a74edc;
/* rgb */ color: rgb(167, 78, 220);
/* oklch */ color: oklch(59.9% 0.214 310.3);
Tailwind
colors: {
  custom: {
    50: '#c585e8',
    500: '#a74edc',
    950: '#000000',
  },
}
SCSS
$custom: #a74edc;
$custom-light: #c585e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a74edc",
  "rgb": {
    "r": 167,
    "g": 78,
    "b": 220
  },
  "hsl": {
    "h": 277.606,
    "s": 66.981,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59916,
    "c": 0.21363,
    "h": 310.3
  },
  "luminance": 0.18832
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A74EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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