#A745FA#A745FA

#A745FA is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 61.0% C 0.254 H 304.4°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#A745FA
RGBrgb(167, 69, 250)
HSLhsl(272, 95%, 63%)
HSVhsv(272, 72%, 98%)
CMYKcmyk(33.2%, 72.4%, 0%, 2%)
CIE-LABlab(51.12, 70.14, -73.56)
CIE-LCHlch(51.12, 101.64, 313.64°)
OKLaboklab(61.01% 0.1436 -0.2094)
OKLCHoklch(61.01% 0.254 304.4)
XYZxyz(35.3159, 19.3740, 92.3030)
Luminance0.1937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A745FA #98FA45
analogous
#4C45FA #A745FA #FA45F3
triadic
#A745FA #FAA745 #45FAA7
tetradic
#A745FA #FA4C45 #98FA45 #45F3FA
square
#A745FA #FA4C45 #98FA45 #45F3FA
split-complementary
#A745FA #F3FA45 #45FA4C
monochromatic
#6A05BF #8B09F8 #A745FA #C381FC #DFBCFD

Accessibility & contrast

On white

4.31
#A745FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#A745FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A745FA
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A745FA#FFFFFF#000000##000000
##A745FA1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077FF
Deuteranopia (green-blind)
#007AF6
Tritanopia (blue-blind)
#97719C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a745fa;
/* rgb */ color: rgb(167, 69, 250);
/* oklch */ color: oklch(61.0% 0.254 304.4);
Tailwind
colors: {
  custom: {
    50: '#c781fd',
    500: '#a745fa',
    950: '#000000',
  },
}
SCSS
$custom: #a745fa;
$custom-light: #c781fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a745fa",
  "rgb": {
    "r": 167,
    "g": 69,
    "b": 250
  },
  "hsl": {
    "h": 272.486,
    "s": 94.764,
    "l": 62.549
  },
  "oklch": {
    "l": 0.61006,
    "c": 0.25388,
    "h": 304.4
  },
  "luminance": 0.19374
}

Semantic roles & 50–950 ramp

primary
#A745FA
secondary
#CBEEAC
accent
#E60069
background
#FCF8FF
surface
#F9EFFF
border
#D2CAD7
text
#140B18
muted
#827C86

Preview Lab

Preview with #A745FA

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

Preview Lab → · Contrast checker → · Palette generator →

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