#A746E4#A746E4

#A746E4 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.5% C 0.232 H 309.1°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#A746E4
RGBrgb(167, 70, 228)
HSLhsl(277, 75%, 58%)
HSVhsv(277, 69%, 89%)
CMYKcmyk(26.8%, 69.3%, 0%, 10.6%)
CIE-LABlab(49.74, 64.95, -63.45)
CIE-LCHlch(49.74, 90.80, 315.67°)
OKLaboklab(59.54% 0.1461 -0.1797)
OKLCHoklch(59.54% 0.232 309.1)
XYZxyz(32.1273, 18.1978, 75.2038)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A746E4 #83E446
analogous
#5846E4 #A746E4 #E446D2
triadic
#A746E4 #E4A746 #46E4A7
tetradic
#A746E4 #E45846 #83E446 #46D2E4
square
#A746E4 #E45846 #83E446 #46D2E4
split-complementary
#A746E4 #D2E446 #46E458
monochromatic
#671699 #8B1ECF #A746E4 #C07BEC #DAB1F4

Accessibility & contrast

On white

4.53
#A746E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#A746E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A746E4
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A746E4#FFFFFF#000000##000000
##A746E41.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E9
Deuteranopia (green-blind)
#2478E1
Tritanopia (blue-blind)
#9E6990
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a746e4;
/* rgb */ color: rgb(167, 70, 228);
/* oklch */ color: oklch(59.5% 0.232 309.1);
Tailwind
colors: {
  custom: {
    50: '#c681ed',
    500: '#a746e4',
    950: '#000000',
  },
}
SCSS
$custom: #a746e4;
$custom-light: #c681ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a746e4",
  "rgb": {
    "r": 167,
    "g": 70,
    "b": 228
  },
  "hsl": {
    "h": 276.835,
    "s": 74.528,
    "l": 58.431
  },
  "oklch": {
    "l": 0.5954,
    "c": 0.23157,
    "h": 309.1
  },
  "luminance": 0.18197
}

Semantic roles & 50–950 ramp

primary
#A746E4
secondary
#BCE2A4
accent
#F1377F
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A746E4

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

Preview Lab → · Contrast checker → · Palette generator →

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