#A746D9#A746D9

#A746D9 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.8% C 0.221 H 311.8°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#A746D9
RGBrgb(167, 70, 217)
HSLhsl(280, 66%, 56%)
HSVhsv(280, 68%, 85%)
CMYKcmyk(23%, 67.7%, 0%, 14.9%)
CIE-LABlab(49.02, 62.63, -58.37)
CIE-LCHlch(49.02, 85.61, 317.02°)
OKLaboklab(58.8% 0.1473 -0.1648)
OKLCHoklch(58.8% 0.221 311.8)
XYZxyz(30.6486, 17.6064, 67.4160)
Luminance0.1761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A746D9 #78D946
analogous
#5E46D9 #A746D9 #D946C2
triadic
#A746D9 #D9A746 #46D9A7
tetradic
#A746D9 #D95E46 #78D946 #46C2D9
square
#A746D9 #D95E46 #78D946 #46C2D9
split-complementary
#A746D9 #C2D946 #46D95E
monochromatic
#641C89 #8926BB #A746D9 #BF79E3 #D7ACEE

Accessibility & contrast

On white

4.64
#A746D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#A746D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A746D9
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A746D9#FFFFFF#000000##FFFFFF
##A746D91.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DD
Deuteranopia (green-blind)
#3676D6
Tritanopia (blue-blind)
#A1658A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a746d9;
/* rgb */ color: rgb(167, 70, 217);
/* oklch */ color: oklch(58.8% 0.221 311.8);
Tailwind
colors: {
  custom: {
    50: '#c581e5',
    500: '#a746d9',
    950: '#000000',
  },
}
SCSS
$custom: #a746d9;
$custom-light: #c581e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a746d9",
  "rgb": {
    "r": 167,
    "g": 70,
    "b": 217
  },
  "hsl": {
    "h": 279.592,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58796,
    "c": 0.22097,
    "h": 311.8
  },
  "luminance": 0.17606
}

Semantic roles & 50–950 ramp

primary
#A746D9
secondary
#B4DC9F
accent
#E93F79
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A746D9

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

Preview Lab → · Contrast checker → · Palette generator →

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