#A74EEC#A74EEC

#A74EEC is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 61.0% C 0.230 H 306.6°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#A74EEC
RGBrgb(167, 78, 236)
HSLhsl(274, 81%, 62%)
HSVhsv(274, 67%, 93%)
CMYKcmyk(29.2%, 66.9%, 0%, 7.5%)
CIE-LABlab(51.52, 63.20, -65.08)
CIE-LCHlch(51.52, 90.71, 314.16°)
OKLaboklab(60.98% 0.1369 -0.1845)
OKLCHoklch(60.98% 0.23 306.6)
XYZxyz(33.7978, 19.7208, 81.3666)
Luminance0.1972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74EEC #93EC4E
analogous
#584EEC #A74EEC #EC4EE2
triadic
#A74EEC #ECA74E #4EECA7
tetradic
#A74EEC #EC584E #93EC4E #4EE2EC
square
#A74EEC #EC584E #93EC4E #4EE2EC
split-complementary
#A74EEC #E2EC4E #4EEC58
monochromatic
#6A13AD #8B19E4 #A74EEC #C285F2 #DEBDF8

Accessibility & contrast

On white

4.25
#A74EEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#A74EEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A74EEC
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74EEC#FFFFFF#000000##000000
##A74EEC1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F1
Deuteranopia (green-blind)
#227BE9
Tritanopia (blue-blind)
#9B7197
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a74eec;
/* rgb */ color: rgb(167, 78, 236);
/* oklch */ color: oklch(61.0% 0.230 306.6);
Tailwind
colors: {
  custom: {
    50: '#c686f3',
    500: '#a74eec',
    950: '#000000',
  },
}
SCSS
$custom: #a74eec;
$custom-light: #c686f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a74eec",
  "rgb": {
    "r": 167,
    "g": 78,
    "b": 236
  },
  "hsl": {
    "h": 273.797,
    "s": 80.612,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60984,
    "c": 0.22977,
    "h": 306.6
  },
  "luminance": 0.1972
}

Semantic roles & 50–950 ramp

primary
#A74EEC
secondary
#C7E8AE
accent
#DD0965
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A74EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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