#A745D9#A745D9

#A745D9 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.7% C 0.222 H 311.9°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#A745D9
RGBrgb(167, 69, 217)
HSLhsl(280, 66%, 56%)
HSVhsv(280, 68%, 85%)
CMYKcmyk(23%, 68.2%, 0%, 14.9%)
CIE-LABlab(48.86, 63.06, -58.61)
CIE-LCHlch(48.86, 86.09, 317.09°)
OKLaboklab(58.69% 0.1483 -0.1655)
OKLCHoklch(58.69% 0.222 311.9)
XYZxyz(30.5866, 17.4823, 67.3954)
Luminance0.1748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A745D9 #77D945
analogous
#5D45D9 #A745D9 #D945C1
triadic
#A745D9 #D9A745 #45D9A7
tetradic
#A745D9 #D95D45 #77D945 #45C1D9
square
#A745D9 #D95D45 #77D945 #45C1D9
split-complementary
#A745D9 #C1D945 #45D95D
monochromatic
#631C88 #8826BB #A745D9 #BF78E3 #D7ABEE

Accessibility & contrast

On white

4.67
#A745D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#A745D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A745D9
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A745D9#FFFFFF#000000##FFFFFF
##A745D91.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDD
Deuteranopia (green-blind)
#3576D6
Tritanopia (blue-blind)
#A1648A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a745d9;
/* rgb */ color: rgb(167, 69, 217);
/* oklch */ color: oklch(58.7% 0.222 311.9);
Tailwind
colors: {
  custom: {
    50: '#c580e5',
    500: '#a745d9',
    950: '#000000',
  },
}
SCSS
$custom: #a745d9;
$custom-light: #c580e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a745d9",
  "rgb": {
    "r": 167,
    "g": 69,
    "b": 217
  },
  "hsl": {
    "h": 279.73,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58687,
    "c": 0.2222,
    "h": 311.9
  },
  "luminance": 0.17481
}

Semantic roles & 50–950 ramp

primary
#A745D9
secondary
#B3DB9E
accent
#E93F78
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A745D9

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

Preview Lab → · Contrast checker → · Palette generator →

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