#A745DC#A745DC

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

Color values

HEX#A745DC
RGBrgb(167, 69, 220)
HSLhsl(279, 68%, 57%)
HSVhsv(279, 69%, 86%)
CMYKcmyk(24.1%, 68.6%, 0%, 13.7%)
CIE-LABlab(49.06, 63.69, -60.01)
CIE-LCHlch(49.06, 87.51, 316.70°)
OKLaboklab(58.89% 0.148 -0.1696)
OKLCHoklch(58.89% 0.225 311.1)
XYZxyz(30.9803, 17.6398, 69.4691)
Luminance0.1764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A745DC #7ADC45
analogous
#5C45DC #A745DC #DC45C6
triadic
#A745DC #DCA745 #45DCA7
tetradic
#A745DC #DC5C45 #7ADC45 #45C6DC
square
#A745DC #DC5C45 #7ADC45 #45C6DC
split-complementary
#A745DC #C6DC45 #45DC5C
monochromatic
#641A8C #8924C0 #A745DC #BF79E6 #D8ACEF

Accessibility & contrast

On white

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

On black

4.53
#A745DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A745DC#FFFFFF#000000##FFFFFF
##A745DC1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a745dc;
/* rgb */ color: rgb(167, 69, 220);
/* oklch */ color: oklch(58.9% 0.225 311.1);
Tailwind
colors: {
  custom: {
    50: '#c680e8',
    500: '#a745dc',
    950: '#000000',
  },
}
SCSS
$custom: #a745dc;
$custom-light: #c680e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a745dc",
  "rgb": {
    "r": 167,
    "g": 69,
    "b": 220
  },
  "hsl": {
    "h": 278.94,
    "s": 68.326,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58888,
    "c": 0.22507,
    "h": 311.1
  },
  "luminance": 0.17639
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A745DC

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

Preview Lab → · Contrast checker → · Palette generator →

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