#A745F0#A745F0

#A745F0 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 60.3% C 0.244 H 306.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#A745F0
RGBrgb(167, 69, 240)
HSLhsl(274, 85%, 61%)
HSVhsv(274, 71%, 94%)
CMYKcmyk(30.4%, 71.3%, 0%, 5.9%)
CIE-LABlab(50.41, 67.95, -69.12)
CIE-LCHlch(50.41, 96.93, 314.51°)
OKLaboklab(60.28% 0.1453 -0.1963)
OKLCHoklch(60.28% 0.244 306.5)
XYZxyz(33.7892, 18.7634, 84.2628)
Luminance0.1876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A745F0 #8EF045
analogous
#5145F0 #A745F0 #F045E4
triadic
#A745F0 #F0A745 #45F0A7
tetradic
#A745F0 #F05145 #8EF045 #45E4F0
square
#A745F0 #F05145 #8EF045 #45E4F0
split-complementary
#A745F0 #E4F045 #45F051
monochromatic
#690EAD #8B12E5 #A745F0 #C27EF5 #DDB6F9

Accessibility & contrast

On white

4.42
#A745F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#A745F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A745F0
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A745F0#FFFFFF#000000##000000
##A745F01.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075F5
Deuteranopia (green-blind)
#0079EC
Tritanopia (blue-blind)
#9A6D97
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a745f0;
/* rgb */ color: rgb(167, 69, 240);
/* oklch */ color: oklch(60.3% 0.244 306.5);
Tailwind
colors: {
  custom: {
    50: '#c781f6',
    500: '#a745f0',
    950: '#000000',
  },
}
SCSS
$custom: #a745f0;
$custom-light: #c781f6;
$custom-dark: #000000;
JSON
{
  "hex": "#a745f0",
  "rgb": {
    "r": 167,
    "g": 69,
    "b": 240
  },
  "hsl": {
    "h": 274.386,
    "s": 85.075,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60278,
    "c": 0.24427,
    "h": 306.5
  },
  "luminance": 0.18763
}

Semantic roles & 50–950 ramp

primary
#A745F0
secondary
#C4E9A8
accent
#E20463
background
#FCF8FF
surface
#F9EFFF
border
#D2CAD7
text
#140B17
muted
#827C85

Preview Lab

Preview with #A745F0

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

Preview Lab → · Contrast checker → · Palette generator →

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