#A745FF#A745FF

#A745FF is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 61.4% C 0.259 H 303.5°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#A745FF
RGBrgb(167, 69, 255)
HSLhsl(272, 100%, 64%)
HSVhsv(272, 73%, 100%)
CMYKcmyk(34.5%, 72.9%, 0%, 0%)
CIE-LABlab(51.49, 71.24, -75.75)
CIE-LCHlch(51.49, 103.98, 313.24°)
OKLaboklab(61.38% 0.1426 -0.2158)
OKLCHoklch(61.38% 0.259 303.5)
XYZxyz(36.1103, 19.6918, 96.4869)
Luminance0.1969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A745FF #9DFF45
analogous
#4A45FF #A745FF #FF45FA
triadic
#A745FF #FFA745 #45FFA7
tetradic
#A745FF #FF4A45 #9DFF45 #45FAFF
square
#A745FF #FF4A45 #9DFF45 #45FAFF
split-complementary
#A745FF #FAFF45 #45FF4A
monochromatic
#6A00CA #8A08FF #A745FF #C482FF #E1BFFF

Accessibility & contrast

On white

4.25
#A745FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#A745FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A745FF
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A745FF#FFFFFF#000000##000000
##A745FF1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079FF
Deuteranopia (green-blind)
#007AFB
Tritanopia (blue-blind)
#95739F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a745ff;
/* rgb */ color: rgb(167, 69, 255);
/* oklch */ color: oklch(61.4% 0.259 303.5);
Tailwind
colors: {
  custom: {
    50: '#c881ff',
    500: '#a745ff',
    950: '#000000',
  },
}
SCSS
$custom: #a745ff;
$custom-light: #c881ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a745ff",
  "rgb": {
    "r": 167,
    "g": 69,
    "b": 255
  },
  "hsl": {
    "h": 271.613,
    "s": 100,
    "l": 63.529
  },
  "oklch": {
    "l": 0.61378,
    "c": 0.25868,
    "h": 303.5
  },
  "luminance": 0.19692
}

Semantic roles & 50–950 ramp

primary
#A745FF
secondary
#CEF1AF
accent
#E6006D
background
#FCF8FF
surface
#F9EFFF
border
#D2CAD7
text
#140B18
muted
#827C86

Preview Lab

Preview with #A745FF

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

Preview Lab → · Contrast checker → · Palette generator →

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