#A745EA#A745EA

#A745EA is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.9% C 0.239 H 307.8°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#A745EA
RGBrgb(167, 69, 234)
HSLhsl(276, 80%, 59%)
HSVhsv(276, 71%, 92%)
CMYKcmyk(28.6%, 70.5%, 0%, 8.2%)
CIE-LABlab(49.99, 66.66, -66.42)
CIE-LCHlch(49.99, 94.10, 315.10°)
OKLaboklab(59.85% 0.1463 -0.1884)
OKLCHoklch(59.85% 0.239 307.8)
XYZxyz(32.9126, 18.4127, 79.6461)
Luminance0.1841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A745EA #88EA45
analogous
#5545EA #A745EA #EA45DB
triadic
#A745EA #EAA745 #45EAA7
tetradic
#A745EA #EA5545 #88EA45 #45DBEA
square
#A745EA #EA5545 #88EA45 #45DBEA
split-complementary
#A745EA #DBEA45 #45EA55
monochromatic
#6812A2 #8B19D9 #A745EA #C17CF0 #DBB3F6

Accessibility & contrast

On white

4.48
#A745EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#A745EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A745EA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A745EA#FFFFFF#000000##000000
##A745EA1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073EF
Deuteranopia (green-blind)
#1178E6
Tritanopia (blue-blind)
#9C6B93
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a745ea;
/* rgb */ color: rgb(167, 69, 234);
/* oklch */ color: oklch(59.9% 0.239 307.8);
Tailwind
colors: {
  custom: {
    50: '#c681f2',
    500: '#a745ea',
    950: '#000000',
  },
}
SCSS
$custom: #a745ea;
$custom-light: #c681f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a745ea",
  "rgb": {
    "r": 167,
    "g": 69,
    "b": 234
  },
  "hsl": {
    "h": 275.636,
    "s": 79.71,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59852,
    "c": 0.23851,
    "h": 307.8
  },
  "luminance": 0.18412
}

Semantic roles & 50–950 ramp

primary
#A745EA
secondary
#BFE6A5
accent
#F63281
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B17
muted
#827C85

Preview Lab

Preview with #A745EA

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

Preview Lab → · Contrast checker → · Palette generator →

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