#A745E7#A745E7

#A745E7 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.6% C 0.236 H 308.5°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#A745E7
RGBrgb(167, 69, 231)
HSLhsl(276, 77%, 59%)
HSVhsv(276, 70%, 91%)
CMYKcmyk(27.7%, 70.1%, 0%, 9.4%)
CIE-LABlab(49.79, 66.02, -65.06)
CIE-LCHlch(49.79, 92.69, 315.42°)
OKLaboklab(59.64% 0.1467 -0.1844)
OKLCHoklch(59.64% 0.236 308.5)
XYZxyz(32.4853, 18.2418, 77.3955)
Luminance0.1824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A745E7 #85E745
analogous
#5645E7 #A745E7 #E745D6
triadic
#A745E7 #E7A745 #45E7A7
tetradic
#A745E7 #E75645 #85E745 #45D6E7
square
#A745E7 #E75645 #85E745 #45D6E7
split-complementary
#A745E7 #D6E745 #45E756
monochromatic
#67149D #8B1BD4 #A745E7 #C17BEE #DAB1F5

Accessibility & contrast

On white

4.52
#A745E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#A745E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A745E7
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A745E7#FFFFFF#000000##000000
##A745E71.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073EC
Deuteranopia (green-blind)
#1B77E4
Tritanopia (blue-blind)
#9D6A92
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a745e7;
/* rgb */ color: rgb(167, 69, 231);
/* oklch */ color: oklch(59.6% 0.236 308.5);
Tailwind
colors: {
  custom: {
    50: '#c681ef',
    500: '#a745e7',
    950: '#000000',
  },
}
SCSS
$custom: #a745e7;
$custom-light: #c681ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a745e7",
  "rgb": {
    "r": 167,
    "g": 69,
    "b": 231
  },
  "hsl": {
    "h": 276.296,
    "s": 77.143,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59641,
    "c": 0.23563,
    "h": 308.5
  },
  "luminance": 0.18241
}

Semantic roles & 50–950 ramp

primary
#A745E7
secondary
#BDE4A4
accent
#F43480
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B17
muted
#827C85

Preview Lab

Preview with #A745E7

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

Preview Lab → · Contrast checker → · Palette generator →

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