#A74FE6#A74FE6

#A74FE6 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.7% C 0.222 H 307.8°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#A74FE6
RGBrgb(167, 79, 230)
HSLhsl(275, 75%, 61%)
HSVhsv(275, 66%, 90%)
CMYKcmyk(27.4%, 65.7%, 0%, 9.8%)
CIE-LABlab(51.29, 61.42, -62.07)
CIE-LCHlch(51.29, 87.32, 314.70°)
OKLaboklab(60.7% 0.1364 -0.1757)
OKLCHoklch(60.7% 0.222 307.8)
XYZxyz(33.0123, 19.5211, 76.8764)
Luminance0.1952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74FE6 #8EE64F
analogous
#5B4FE6 #A74FE6 #E64FD9
triadic
#A74FE6 #E6A74F #4FE6A7
tetradic
#A74FE6 #E65B4F #8EE64F #4FD9E6
square
#A74FE6 #E65B4F #8EE64F #4FD9E6
split-complementary
#A74FE6 #D9E64F #4FE65B
monochromatic
#6917A3 #8B1FD9 #A74FE6 #C285EE #DDBAF5

Accessibility & contrast

On white

4.28
#A74FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#A74FE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A74FE6
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74FE6#FFFFFF#000000##000000
##A74FE61.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EB
Deuteranopia (green-blind)
#2F7BE3
Tritanopia (blue-blind)
#9D6F94
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a74fe6;
/* rgb */ color: rgb(167, 79, 230);
/* oklch */ color: oklch(60.7% 0.222 307.8);
Tailwind
colors: {
  custom: {
    50: '#c686ef',
    500: '#a74fe6',
    950: '#000000',
  },
}
SCSS
$custom: #a74fe6;
$custom-light: #c686ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a74fe6",
  "rgb": {
    "r": 167,
    "g": 79,
    "b": 230
  },
  "hsl": {
    "h": 274.967,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60695,
    "c": 0.22244,
    "h": 307.8
  },
  "luminance": 0.19521
}

Semantic roles & 50–950 ramp

primary
#A74FE6
secondary
#C4E5AC
accent
#D70E62
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A74FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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