#A45CE6#A45CE6

#A45CE6 is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.0% C 0.204 H 305.2°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#A45CE6
RGBrgb(164, 92, 230)
HSLhsl(271, 73%, 63%)
HSVhsv(271, 60%, 90%)
CMYKcmyk(28.7%, 60%, 0%, 9.8%)
CIE-LABlab(53.23, 54.48, -58.97)
CIE-LCHlch(53.23, 80.28, 312.73°)
OKLaboklab(62.02% 0.1178 -0.1667)
OKLCHoklch(62.02% 0.204 305.2)
XYZxyz(33.4168, 21.2602, 77.1907)
Luminance0.2126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45CE6 #9EE65C
analogous
#5F5CE6 #A45CE6 #E65CE3
triadic
#A45CE6 #E6A45C #5CE6A4
tetradic
#A45CE6 #E65F5C #9EE65C #5CE3E6
square
#A45CE6 #E65F5C #9EE65C #5CE3E6
split-complementary
#A45CE6 #E3E65C #5CE65F
monochromatic
#671BAD #8627DE #A45CE6 #C291EE #DFC6F6

Accessibility & contrast

On white

4.00
#A45CE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#A45CE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45CE6
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45CE6#FFFFFF#000000##000000
##A45CE61.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#147DEA
Deuteranopia (green-blind)
#3E7FE3
Tritanopia (blue-blind)
#997898
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a45ce6;
/* rgb */ color: rgb(164, 92, 230);
/* oklch */ color: oklch(62.0% 0.204 305.2);
Tailwind
colors: {
  custom: {
    50: '#c38def',
    500: '#a45ce6',
    950: '#000000',
  },
}
SCSS
$custom: #a45ce6;
$custom-light: #c38def;
$custom-dark: #000000;
JSON
{
  "hex": "#a45ce6",
  "rgb": {
    "r": 164,
    "g": 92,
    "b": 230
  },
  "hsl": {
    "h": 271.304,
    "s": 73.404,
    "l": 63.137
  },
  "oklch": {
    "l": 0.6202,
    "c": 0.20414,
    "h": 305.2
  },
  "luminance": 0.2126
}

Semantic roles & 50–950 ramp

primary
#A45CE6
secondary
#CEE8B6
accent
#D6106E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A45CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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