#A746FF#A746FF

#A746FF is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 61.5% C 0.258 H 303.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#A746FF
RGBrgb(167, 70, 255)
HSLhsl(271, 100%, 64%)
HSVhsv(271, 73%, 100%)
CMYKcmyk(34.5%, 72.5%, 0%, 0%)
CIE-LABlab(51.63, 70.84, -75.52)
CIE-LCHlch(51.63, 103.54, 313.17°)
OKLaboklab(61.48% 0.1417 -0.2151)
OKLCHoklch(61.48% 0.258 303.4)
XYZxyz(36.1723, 19.8158, 96.5075)
Luminance0.1982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A746FF #9EFF46
analogous
#4A46FF #A746FF #FF46FB
triadic
#A746FF #FFA746 #46FFA7
tetradic
#A746FF #FF4A46 #9EFF46 #46FBFF
square
#A746FF #FF4A46 #9EFF46 #46FBFF
split-complementary
#A746FF #FBFF46 #46FF4A
monochromatic
#6A00CB #8A09FF #A746FF #C483FF #E1C0FF

Accessibility & contrast

On white

4.23
#A746FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#A746FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A746FF
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A746FF#FFFFFF#000000##000000
##A746FF1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079FF
Deuteranopia (green-blind)
#007BFB
Tritanopia (blue-blind)
#95749F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a746ff;
/* rgb */ color: rgb(167, 70, 255);
/* oklch */ color: oklch(61.5% 0.258 303.4);
Tailwind
colors: {
  custom: {
    50: '#c882ff',
    500: '#a746ff',
    950: '#000000',
  },
}
SCSS
$custom: #a746ff;
$custom-light: #c882ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a746ff",
  "rgb": {
    "r": 167,
    "g": 70,
    "b": 255
  },
  "hsl": {
    "h": 271.459,
    "s": 100,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61478,
    "c": 0.25763,
    "h": 303.4
  },
  "luminance": 0.19816
}

Semantic roles & 50–950 ramp

primary
#A746FF
secondary
#CFF1B0
accent
#E6006D
background
#FCF8FF
surface
#F9EFFF
border
#D2CAD7
text
#140B18
muted
#827C86

Preview Lab

Preview with #A746FF

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

Preview Lab → · Contrast checker → · Palette generator →

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