#A647F0#A647F0

#A647F0 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 60.4% C 0.242 H 306.0°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#A647F0
RGBrgb(166, 71, 240)
HSLhsl(274, 85%, 61%)
HSVhsv(274, 70%, 94%)
CMYKcmyk(30.8%, 70.4%, 0%, 5.9%)
CIE-LABlab(50.58, 66.94, -68.86)
CIE-LCHlch(50.58, 96.03, 314.19°)
OKLaboklab(60.37% 0.1421 -0.1956)
OKLCHoklch(60.37% 0.242 306)
XYZxyz(33.7039, 18.9050, 84.2947)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A647F0 #91F047
analogous
#5147F0 #A647F0 #F047E5
triadic
#A647F0 #F0A647 #47F0A6
tetradic
#A647F0 #F05147 #91F047 #47E5F0
square
#A647F0 #F05147 #91F047 #47E5F0
split-complementary
#A647F0 #E5F047 #47F051
monochromatic
#680EAE #8A13E7 #A647F0 #C180F5 #DDB8F9

Accessibility & contrast

On white

4.39
#A647F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#A647F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A647F0
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A647F0#FFFFFF#000000##000000
##A647F01.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076F5
Deuteranopia (green-blind)
#0079EC
Tritanopia (blue-blind)
#996E97
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a647f0;
/* rgb */ color: rgb(166, 71, 240);
/* oklch */ color: oklch(60.4% 0.242 306.0);
Tailwind
colors: {
  custom: {
    50: '#c682f6',
    500: '#a647f0',
    950: '#000000',
  },
}
SCSS
$custom: #a647f0;
$custom-light: #c682f6;
$custom-dark: #000000;
JSON
{
  "hex": "#a647f0",
  "rgb": {
    "r": 166,
    "g": 71,
    "b": 240
  },
  "hsl": {
    "h": 273.728,
    "s": 84.925,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60369,
    "c": 0.24179,
    "h": 306
  },
  "luminance": 0.18905
}

Semantic roles & 50–950 ramp

primary
#A647F0
secondary
#C5E9AA
accent
#E10465
background
#FCF8FF
surface
#F9EFFF
border
#D2CAD7
text
#140B17
muted
#827C85

Preview Lab

Preview with #A647F0

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

Preview Lab → · Contrast checker → · Palette generator →

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