#A74CE8#A74CE8

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

Color values

HEX#A74CE8
RGBrgb(167, 76, 232)
HSLhsl(275, 77%, 60%)
HSVhsv(275, 67%, 91%)
CMYKcmyk(28%, 67.2%, 0%, 9%)
CIE-LABlab(50.93, 63.21, -63.78)
CIE-LCHlch(50.93, 89.79, 314.75°)
OKLaboklab(60.48% 0.1395 -0.1807)
OKLCHoklch(60.48% 0.228 307.7)
XYZxyz(33.0832, 19.2110, 78.2935)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74CE8 #8DE84C
analogous
#594CE8 #A74CE8 #E84CDB
triadic
#A74CE8 #E8A74C #4CE8A7
tetradic
#A74CE8 #E8594C #8DE84C #4CDBE8
square
#A74CE8 #E8594C #8DE84C #4CDBE8
split-complementary
#A74CE8 #DBE84C #4CE859
monochromatic
#6915A4 #8B1CDB #A74CE8 #C282EF #DCB8F6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A74CE8#FFFFFF#000000##000000
##A74CE81.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)
#0076ED
Deuteranopia (green-blind)
#277AE5
Tritanopia (blue-blind)
#9D6E94
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a74ce8;
/* rgb */ color: rgb(167, 76, 232);
/* oklch */ color: oklch(60.5% 0.228 307.7);
Tailwind
colors: {
  custom: {
    50: '#c684f0',
    500: '#a74ce8',
    950: '#000000',
  },
}
SCSS
$custom: #a74ce8;
$custom-light: #c684f0;
$custom-dark: #000000;
JSON
{
  "hex": "#a74ce8",
  "rgb": {
    "r": 167,
    "g": 76,
    "b": 232
  },
  "hsl": {
    "h": 275,
    "s": 77.228,
    "l": 60.392
  },
  "oklch": {
    "l": 0.6048,
    "c": 0.22823,
    "h": 307.7
  },
  "luminance": 0.19211
}

Semantic roles & 50–950 ramp

primary
#A74CE8
secondary
#C3E6AA
accent
#D90C62
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A74CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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