#A746DB#A746DB

#A746DB is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.9% C 0.223 H 311.3°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#A746DB
RGBrgb(167, 70, 219)
HSLhsl(279, 67%, 57%)
HSVhsv(279, 68%, 86%)
CMYKcmyk(23.7%, 68%, 0%, 14.1%)
CIE-LABlab(49.14, 63.05, -59.30)
CIE-LCHlch(49.14, 86.56, 316.76°)
OKLaboklab(58.93% 0.1471 -0.1675)
OKLCHoklch(58.93% 0.223 311.3)
XYZxyz(30.9103, 17.7110, 68.7944)
Luminance0.1771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A746DB #7ADB46
analogous
#5D46DB #A746DB #DB46C5
triadic
#A746DB #DBA746 #46DBA7
tetradic
#A746DB #DB5D46 #7ADB46 #46C5DB
square
#A746DB #DB5D46 #7ADB46 #46C5DB
split-complementary
#A746DB #C5DB46 #46DB5D
monochromatic
#641B8B #8925BF #A746DB #BF79E5 #D8ACEF

Accessibility & contrast

On white

4.62
#A746DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#A746DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A746DB
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A746DB#FFFFFF#000000##FFFFFF
##A746DB1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#3377D8
Tritanopia (blue-blind)
#A0658B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a746db;
/* rgb */ color: rgb(167, 70, 219);
/* oklch */ color: oklch(58.9% 0.223 311.3);
Tailwind
colors: {
  custom: {
    50: '#c581e7',
    500: '#a746db',
    950: '#000000',
  },
}
SCSS
$custom: #a746db;
$custom-light: #c581e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a746db",
  "rgb": {
    "r": 167,
    "g": 70,
    "b": 219
  },
  "hsl": {
    "h": 279.06,
    "s": 67.421,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58929,
    "c": 0.22289,
    "h": 311.3
  },
  "luminance": 0.1771
}

Semantic roles & 50–950 ramp

primary
#A746DB
secondary
#B5DDA0
accent
#EA3D7A
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A746DB

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

Preview Lab → · Contrast checker → · Palette generator →

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