#A745DF#A745DF

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

Color values

HEX#A745DF
RGBrgb(167, 69, 223)
HSLhsl(278, 71%, 57%)
HSVhsv(278, 69%, 87%)
CMYKcmyk(25.1%, 69.1%, 0%, 12.5%)
CIE-LABlab(49.25, 64.32, -61.40)
CIE-LCHlch(49.25, 88.92, 316.33°)
OKLaboklab(59.09% 0.1477 -0.1736)
OKLCHoklch(59.09% 0.228 310.4)
XYZxyz(31.3812, 17.8001, 71.5804)
Luminance0.1780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A745DF #7DDF45
analogous
#5A45DF #A745DF #DF45CA
triadic
#A745DF #DFA745 #45DFA7
tetradic
#A745DF #DF5A45 #7DDF45 #45CADF
square
#A745DF #DF5A45 #7DDF45 #45CADF
split-complementary
#A745DF #CADF45 #45DF5A
monochromatic
#651991 #8A22C5 #A745DF #C079E8 #D8ADF1

Accessibility & contrast

On white

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

On black

4.56
#A745DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A745DF#FFFFFF#000000##FFFFFF
##A745DF1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E3
Deuteranopia (green-blind)
#2C77DC
Tritanopia (blue-blind)
#9F668D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a745df;
/* rgb */ color: rgb(167, 69, 223);
/* oklch */ color: oklch(59.1% 0.228 310.4);
Tailwind
colors: {
  custom: {
    50: '#c680ea',
    500: '#a745df',
    950: '#000000',
  },
}
SCSS
$custom: #a745df;
$custom-light: #c680ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a745df",
  "rgb": {
    "r": 167,
    "g": 69,
    "b": 223
  },
  "hsl": {
    "h": 278.182,
    "s": 70.642,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5909,
    "c": 0.22796,
    "h": 310.4
  },
  "luminance": 0.17799
}

Semantic roles & 50–950 ramp

primary
#A745DF
secondary
#B7DFA1
accent
#ED3A7B
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A745DF

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

Preview Lab → · Contrast checker → · Palette generator →

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