#A74CEB#A74CEB

#A74CEB is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.7% C 0.231 H 307.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#A74CEB
RGBrgb(167, 76, 235)
HSLhsl(274, 80%, 61%)
HSVhsv(274, 68%, 92%)
CMYKcmyk(28.9%, 67.7%, 0%, 7.8%)
CIE-LABlab(51.13, 63.87, -65.14)
CIE-LCHlch(51.13, 91.23, 314.43°)
OKLaboklab(60.69% 0.1391 -0.1847)
OKLCHoklch(60.69% 0.231 307)
XYZxyz(33.5130, 19.3829, 80.5569)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74CEB #90EB4C
analogous
#574CEB #A74CEB #EB4CDF
triadic
#A74CEB #EBA74C #4CEBA7
tetradic
#A74CEB #EB574C #90EB4C #4CDFEB
square
#A74CEB #EB574C #90EB4C #4CDFEB
split-complementary
#A74CEB #DFEB4C #4CEB57
monochromatic
#6913AA #8B19E1 #A74CEB #C283F1 #DDBAF7

Accessibility & contrast

On white

4.31
#A74CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#A74CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A74CEB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74CEB#FFFFFF#000000##000000
##A74CEB1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F0
Deuteranopia (green-blind)
#207AE8
Tritanopia (blue-blind)
#9C6F96
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a74ceb;
/* rgb */ color: rgb(167, 76, 235);
/* oklch */ color: oklch(60.7% 0.231 307.0);
Tailwind
colors: {
  custom: {
    50: '#c684f2',
    500: '#a74ceb',
    950: '#000000',
  },
}
SCSS
$custom: #a74ceb;
$custom-light: #c684f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a74ceb",
  "rgb": {
    "r": 167,
    "g": 76,
    "b": 235
  },
  "hsl": {
    "h": 274.34,
    "s": 79.899,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60685,
    "c": 0.23122,
    "h": 307
  },
  "luminance": 0.19383
}

Semantic roles & 50–950 ramp

primary
#A74CEB
secondary
#C5E7AB
accent
#DC0963
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B17
muted
#827C85

Preview Lab

Preview with #A74CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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