#A746E5#A746E5

#A746E5 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.6% C 0.233 H 308.9°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#A746E5
RGBrgb(167, 70, 229)
HSLhsl(277, 75%, 59%)
HSVhsv(277, 69%, 90%)
CMYKcmyk(27.1%, 69.4%, 0%, 10.2%)
CIE-LABlab(49.80, 65.17, -63.91)
CIE-LCHlch(49.80, 91.28, 315.56°)
OKLaboklab(59.61% 0.146 -0.181)
OKLCHoklch(59.61% 0.233 308.9)
XYZxyz(32.2665, 18.2535, 75.9370)
Luminance0.1825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A746E5 #84E546
analogous
#5746E5 #A746E5 #E546D3
triadic
#A746E5 #E5A746 #46E5A7
tetradic
#A746E5 #E55746 #84E546 #46D3E5
square
#A746E5 #E55746 #84E546 #46D3E5
split-complementary
#A746E5 #D3E546 #46E557
monochromatic
#67169B #8B1DD0 #A746E5 #C17CED #DAB1F4

Accessibility & contrast

On white

4.52
#A746E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#A746E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A746E5
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A746E5#FFFFFF#000000##000000
##A746E51.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073EA
Deuteranopia (green-blind)
#2278E2
Tritanopia (blue-blind)
#9E6991
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a746e5;
/* rgb */ color: rgb(167, 70, 229);
/* oklch */ color: oklch(59.6% 0.233 308.9);
Tailwind
colors: {
  custom: {
    50: '#c681ee',
    500: '#a746e5',
    950: '#000000',
  },
}
SCSS
$custom: #a746e5;
$custom-light: #c681ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a746e5",
  "rgb": {
    "r": 167,
    "g": 70,
    "b": 229
  },
  "hsl": {
    "h": 276.604,
    "s": 75.355,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59609,
    "c": 0.23254,
    "h": 308.9
  },
  "luminance": 0.18253
}

Semantic roles & 50–950 ramp

primary
#A746E5
secondary
#BCE3A4
accent
#F2367F
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #A746E5

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

Preview Lab → · Contrast checker → · Palette generator →

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