#A745E5#A745E5

#A745E5 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.5% C 0.234 H 309.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#A745E5
RGBrgb(167, 69, 229)
HSLhsl(277, 75%, 58%)
HSVhsv(277, 70%, 90%)
CMYKcmyk(27.1%, 69.9%, 0%, 10.2%)
CIE-LABlab(49.65, 65.59, -64.15)
CIE-LCHlch(49.65, 91.75, 315.63°)
OKLaboklab(59.5% 0.1469 -0.1817)
OKLCHoklch(59.5% 0.234 309)
XYZxyz(32.2045, 18.1295, 75.9164)
Luminance0.1813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A745E5 #83E545
analogous
#5745E5 #A745E5 #E545D3
triadic
#A745E5 #E5A745 #45E5A7
tetradic
#A745E5 #E55745 #83E545 #45D3E5
square
#A745E5 #E55745 #83E545 #45D3E5
split-complementary
#A745E5 #D3E545 #45E557
monochromatic
#67169A #8B1DD0 #A745E5 #C07BED #DAB0F4

Accessibility & contrast

On white

4.54
#A745E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#A745E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A745E5
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A745E5#FFFFFF#000000##000000
##A745E51.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072EA
Deuteranopia (green-blind)
#2077E2
Tritanopia (blue-blind)
#9E6991
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a745e5;
/* rgb */ color: rgb(167, 69, 229);
/* oklch */ color: oklch(59.5% 0.234 309.0);
Tailwind
colors: {
  custom: {
    50: '#c680ee',
    500: '#a745e5',
    950: '#000000',
  },
}
SCSS
$custom: #a745e5;
$custom-light: #c680ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a745e5",
  "rgb": {
    "r": 167,
    "g": 69,
    "b": 229
  },
  "hsl": {
    "h": 276.75,
    "s": 75.472,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59502,
    "c": 0.23371,
    "h": 309
  },
  "luminance": 0.18129
}

Semantic roles & 50–950 ramp

primary
#A745E5
secondary
#BCE3A3
accent
#F2367F
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #A745E5

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

Preview Lab → · Contrast checker → · Palette generator →

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