#A746DC#A746DC

#A746DC is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 59.0% C 0.224 H 311.0°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#A746DC
RGBrgb(167, 70, 220)
HSLhsl(279, 68%, 57%)
HSVhsv(279, 68%, 86%)
CMYKcmyk(24.1%, 68.2%, 0%, 13.7%)
CIE-LABlab(49.21, 63.26, -59.77)
CIE-LCHlch(49.21, 87.03, 316.63°)
OKLaboklab(59% 0.147 -0.1689)
OKLCHoklch(59% 0.224 311)
XYZxyz(31.0423, 17.7638, 69.4898)
Luminance0.1776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A746DC #7BDC46
analogous
#5C46DC #A746DC #DC46C6
triadic
#A746DC #DCA746 #46DCA7
tetradic
#A746DC #DC5C46 #7BDC46 #46C6DC
square
#A746DC #DC5C46 #7BDC46 #46C6DC
split-complementary
#A746DC #C6DC46 #46DC5C
monochromatic
#651B8D #8924C0 #A746DC #BF79E6 #D8ADEF

Accessibility & contrast

On white

4.61
#A746DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#A746DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A746DC
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A746DC#FFFFFF#000000##FFFFFF
##A746DC1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E0
Deuteranopia (green-blind)
#3277D9
Tritanopia (blue-blind)
#A0668C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a746dc;
/* rgb */ color: rgb(167, 70, 220);
/* oklch */ color: oklch(59.0% 0.224 311.0);
Tailwind
colors: {
  custom: {
    50: '#c581e8',
    500: '#a746dc',
    950: '#000000',
  },
}
SCSS
$custom: #a746dc;
$custom-light: #c581e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a746dc",
  "rgb": {
    "r": 167,
    "g": 70,
    "b": 220
  },
  "hsl": {
    "h": 278.8,
    "s": 68.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58996,
    "c": 0.22385,
    "h": 311
  },
  "luminance": 0.17763
}

Semantic roles & 50–950 ramp

primary
#A746DC
secondary
#B6DDA0
accent
#EB3D7A
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A746DC

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

Preview Lab → · Contrast checker → · Palette generator →

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