#A74DEB#A74DEB

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

Color values

HEX#A74DEB
RGBrgb(167, 77, 235)
HSLhsl(274, 80%, 61%)
HSVhsv(274, 67%, 92%)
CMYKcmyk(28.9%, 67.2%, 0%, 7.8%)
CIE-LABlab(51.29, 63.42, -64.88)
CIE-LCHlch(51.29, 90.73, 314.35°)
OKLaboklab(60.8% 0.1381 -0.1839)
OKLCHoklch(60.8% 0.23 306.9)
XYZxyz(33.5824, 19.5218, 80.5801)
Luminance0.1952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74DEB #91EB4D
analogous
#584DEB #A74DEB #EB4DE0
triadic
#A74DEB #EBA74D #4DEBA7
tetradic
#A74DEB #EB584D #91EB4D #4DE0EB
square
#A74DEB #EB584D #91EB4D #4DE0EB
split-complementary
#A74DEB #E0EB4D #4DEB58
monochromatic
#6913AA #8B19E1 #A74DEB #C284F1 #DDBBF7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A74DEB#FFFFFF#000000##000000
##A74DEB1.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)
#0077F0
Deuteranopia (green-blind)
#237BE8
Tritanopia (blue-blind)
#9C7096
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a74deb;
/* rgb */ color: rgb(167, 77, 235);
/* oklch */ color: oklch(60.8% 0.230 306.9);
Tailwind
colors: {
  custom: {
    50: '#c685f2',
    500: '#a74deb',
    950: '#000000',
  },
}
SCSS
$custom: #a74deb;
$custom-light: #c685f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a74deb",
  "rgb": {
    "r": 167,
    "g": 77,
    "b": 235
  },
  "hsl": {
    "h": 274.177,
    "s": 79.798,
    "l": 61.176
  },
  "oklch": {
    "l": 0.60799,
    "c": 0.22999,
    "h": 306.9
  },
  "luminance": 0.19521
}

Semantic roles & 50–950 ramp

primary
#A74DEB
secondary
#C6E8AC
accent
#DC0964
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A74DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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