#A74DE5#A74DE5

#A74DE5 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.4% C 0.224 H 308.3°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#A74DE5
RGBrgb(167, 77, 229)
HSLhsl(276, 75%, 60%)
HSVhsv(276, 66%, 90%)
CMYKcmyk(27.1%, 66.4%, 0%, 10.2%)
CIE-LABlab(50.90, 62.11, -62.14)
CIE-LCHlch(50.90, 87.86, 314.98°)
OKLaboklab(60.39% 0.1387 -0.1759)
OKLCHoklch(60.39% 0.224 308.3)
XYZxyz(32.7302, 19.1809, 76.0916)
Luminance0.1918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74DE5 #8BE54D
analogous
#5B4DE5 #A74DE5 #E54DD7
triadic
#A74DE5 #E5A74D #4DE5A7
tetradic
#A74DE5 #E55B4D #8BE54D #4DD7E5
square
#A74DE5 #E55B4D #8BE54D #4DD7E5
split-complementary
#A74DE5 #D7E54D #4DE55B
monochromatic
#6817A0 #8B1FD6 #A74DE5 #C182ED #DCB8F5

Accessibility & contrast

On white

4.34
#A74DE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#A74DE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A74DE5
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74DE5#FFFFFF#000000##000000
##A74DE51.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EA
Deuteranopia (green-blind)
#2E7AE2
Tritanopia (blue-blind)
#9D6E93
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a74de5;
/* rgb */ color: rgb(167, 77, 229);
/* oklch */ color: oklch(60.4% 0.224 308.3);
Tailwind
colors: {
  custom: {
    50: '#c685ee',
    500: '#a74de5',
    950: '#000000',
  },
}
SCSS
$custom: #a74de5;
$custom-light: #c685ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a74de5",
  "rgb": {
    "r": 167,
    "g": 77,
    "b": 229
  },
  "hsl": {
    "h": 275.526,
    "s": 74.51,
    "l": 60
  },
  "oklch": {
    "l": 0.60392,
    "c": 0.22398,
    "h": 308.3
  },
  "luminance": 0.1918
}

Semantic roles & 50–950 ramp

primary
#A74DE5
secondary
#C2E4AA
accent
#F13783
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A74DE5

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

Preview Lab → · Contrast checker → · Palette generator →

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