#A645FA#A645FA

#A645FA is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.9% C 0.254 H 304.1°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#A645FA
RGBrgb(166, 69, 250)
HSLhsl(272, 95%, 63%)
HSVhsv(272, 72%, 98%)
CMYKcmyk(33.6%, 72.4%, 0%, 2%)
CIE-LABlab(51.00, 69.96, -73.77)
CIE-LCHlch(51.00, 101.67, 313.48°)
OKLaboklab(60.89% 0.1423 -0.21)
OKLCHoklch(60.89% 0.254 304.1)
XYZxyz(35.1054, 19.2655, 92.2931)
Luminance0.1926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A645FA #99FA45
analogous
#4C45FA #A645FA #FA45F3
triadic
#A645FA #FAA645 #45FAA6
tetradic
#A645FA #FA4C45 #99FA45 #45F3FA
square
#A645FA #FA4C45 #99FA45 #45F3FA
split-complementary
#A645FA #F3FA45 #45FA4C
monochromatic
#6905BF #8909F8 #A645FA #C381FC #DFBCFD

Accessibility & contrast

On white

4.33
#A645FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#A645FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A645FA
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A645FA#FFFFFF#000000##000000
##A645FA1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077FF
Deuteranopia (green-blind)
#0079F6
Tritanopia (blue-blind)
#96719C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a645fa;
/* rgb */ color: rgb(166, 69, 250);
/* oklch */ color: oklch(60.9% 0.254 304.1);
Tailwind
colors: {
  custom: {
    50: '#c781fd',
    500: '#a645fa',
    950: '#000000',
  },
}
SCSS
$custom: #a645fa;
$custom-light: #c781fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a645fa",
  "rgb": {
    "r": 166,
    "g": 69,
    "b": 250
  },
  "hsl": {
    "h": 272.155,
    "s": 94.764,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60891,
    "c": 0.25367,
    "h": 304.1
  },
  "luminance": 0.19265
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A645FA

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

Preview Lab → · Contrast checker → · Palette generator →

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