#A74EEB#A74EEB

#A74EEB is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.9% C 0.229 H 306.8°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#A74EEB
RGBrgb(167, 78, 235)
HSLhsl(274, 80%, 61%)
HSVhsv(274, 67%, 92%)
CMYKcmyk(28.9%, 66.8%, 0%, 7.8%)
CIE-LABlab(51.45, 62.98, -64.62)
CIE-LCHlch(51.45, 90.23, 314.26°)
OKLaboklab(60.92% 0.137 -0.1832)
OKLCHoklch(60.92% 0.229 306.8)
XYZxyz(33.6529, 19.6628, 80.6036)
Luminance0.1966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74EEB #92EB4E
analogous
#594EEB #A74EEB #EB4EE0
triadic
#A74EEB #EBA74E #4EEBA7
tetradic
#A74EEB #EB594E #92EB4E #4EE0EB
square
#A74EEB #EB594E #92EB4E #4EE0EB
split-complementary
#A74EEB #E0EB4E #4EEB59
monochromatic
#6913AB #8B1AE2 #A74EEB #C285F1 #DEBCF7

Accessibility & contrast

On white

4.26
#A74EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#A74EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A74EEB
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74EEB#FFFFFF#000000##000000
##A74EEB1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F0
Deuteranopia (green-blind)
#257BE8
Tritanopia (blue-blind)
#9C7096
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a74eeb;
/* rgb */ color: rgb(167, 78, 235);
/* oklch */ color: oklch(60.9% 0.229 306.8);
Tailwind
colors: {
  custom: {
    50: '#c686f2',
    500: '#a74eeb',
    950: '#000000',
  },
}
SCSS
$custom: #a74eeb;
$custom-light: #c686f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a74eeb",
  "rgb": {
    "r": 167,
    "g": 78,
    "b": 235
  },
  "hsl": {
    "h": 274.013,
    "s": 79.695,
    "l": 61.373
  },
  "oklch": {
    "l": 0.60915,
    "c": 0.22875,
    "h": 306.8
  },
  "luminance": 0.19662
}

Semantic roles & 50–950 ramp

primary
#A74EEB
secondary
#C6E8AD
accent
#DC0965
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A74EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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