#A746E1#A746E1

#A746E1 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 59.3% C 0.229 H 309.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#A746E1
RGBrgb(167, 70, 225)
HSLhsl(278, 72%, 58%)
HSVhsv(278, 69%, 88%)
CMYKcmyk(25.8%, 68.9%, 0%, 11.8%)
CIE-LABlab(49.54, 64.32, -62.08)
CIE-LCHlch(49.54, 89.39, 316.02°)
OKLaboklab(59.33% 0.1464 -0.1756)
OKLCHoklch(59.33% 0.229 309.8)
XYZxyz(31.7144, 18.0327, 73.0295)
Luminance0.1803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A746E1 #80E146
analogous
#5946E1 #A746E1 #E146CE
triadic
#A746E1 #E1A746 #46E1A7
tetradic
#A746E1 #E15946 #80E146 #46CEE1
square
#A746E1 #E15946 #80E146 #46CEE1
split-complementary
#A746E1 #CEE146 #46E159
monochromatic
#661895 #8A21C9 #A746E1 #C07BEA #D9AFF2

Accessibility & contrast

On white

4.56
#A746E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#A746E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A746E1
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A746E1#FFFFFF#000000##000000
##A746E11.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E6
Deuteranopia (green-blind)
#2A77DE
Tritanopia (blue-blind)
#9F688F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a746e1;
/* rgb */ color: rgb(167, 70, 225);
/* oklch */ color: oklch(59.3% 0.229 309.8);
Tailwind
colors: {
  custom: {
    50: '#c681eb',
    500: '#a746e1',
    950: '#000000',
  },
}
SCSS
$custom: #a746e1;
$custom-light: #c681eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a746e1",
  "rgb": {
    "r": 167,
    "g": 70,
    "b": 225
  },
  "hsl": {
    "h": 277.548,
    "s": 72.093,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59334,
    "c": 0.22867,
    "h": 309.8
  },
  "luminance": 0.18032
}

Semantic roles & 50–950 ramp

primary
#A746E1
secondary
#BAE0A2
accent
#EF397D
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A746E1

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

Preview Lab → · Contrast checker → · Palette generator →

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