#A645DE#A645DE

#A645DE is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.9% C 0.227 H 310.3°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#A645DE
RGBrgb(166, 69, 222)
HSLhsl(278, 70%, 57%)
HSVhsv(278, 69%, 87%)
CMYKcmyk(25.2%, 68.9%, 0%, 12.9%)
CIE-LABlab(49.05, 63.90, -61.16)
CIE-LCHlch(49.05, 88.45, 316.26°)
OKLaboklab(58.9% 0.1465 -0.173)
OKLCHoklch(58.9% 0.227 310.3)
XYZxyz(31.0363, 17.6378, 70.8626)
Luminance0.1764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A645DE #7DDE45
analogous
#5A45DE #A645DE #DE45CA
triadic
#A645DE #DEA645 #45DEA6
tetradic
#A645DE #DE5A45 #7DDE45 #45CADE
square
#A645DE #DE5A45 #7DDE45 #45CADE
split-complementary
#A645DE #CADE45 #45DE5A
monochromatic
#64198F #8823C3 #A645DE #BF79E7 #D8ADF0

Accessibility & contrast

On white

4.64
#A645DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#A645DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A645DE
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A645DE#FFFFFF#000000##FFFFFF
##A645DE1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E2
Deuteranopia (green-blind)
#2C76DB
Tritanopia (blue-blind)
#9E668D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a645de;
/* rgb */ color: rgb(166, 69, 222);
/* oklch */ color: oklch(58.9% 0.227 310.3);
Tailwind
colors: {
  custom: {
    50: '#c580e9',
    500: '#a645de',
    950: '#000000',
  },
}
SCSS
$custom: #a645de;
$custom-light: #c580e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a645de",
  "rgb": {
    "r": 166,
    "g": 69,
    "b": 222
  },
  "hsl": {
    "h": 278.039,
    "s": 69.863,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58899,
    "c": 0.22669,
    "h": 310.3
  },
  "luminance": 0.17637
}

Semantic roles & 50–950 ramp

primary
#A645DE
secondary
#B7DFA0
accent
#ED3B7C
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A645DE

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

Preview Lab → · Contrast checker → · Palette generator →

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