#A658EA#A658EA

#A658EA is a mid, highly saturated violet. Relative luminance 0.210; OKLCH L 62.0% C 0.214 H 305.6°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#A658EA
RGBrgb(166, 88, 234)
HSLhsl(272, 78%, 63%)
HSVhsv(272, 62%, 92%)
CMYKcmyk(29.1%, 62.4%, 0%, 8.2%)
CIE-LABlab(52.98, 57.83, -61.61)
CIE-LCHlch(52.98, 84.50, 313.19°)
OKLaboklab(61.97% 0.1249 -0.1744)
OKLCHoklch(61.97% 0.214 305.6)
XYZxyz(34.0637, 21.0272, 80.0901)
Luminance0.2103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A658EA #9CEA58
analogous
#5D58EA #A658EA #EA58E5
triadic
#A658EA #EAA658 #58EAA6
tetradic
#A658EA #EA5D58 #9CEA58 #58E5EA
square
#A658EA #EA5D58 #9CEA58 #58E5EA
split-complementary
#A658EA #E5EA58 #58EA5D
monochromatic
#6916B1 #8922E3 #A658EA #C38EF1 #E0C5F8

Accessibility & contrast

On white

4.03
#A658EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#A658EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A658EA
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A658EA#FFFFFF#000000##000000
##A658EA1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEF
Deuteranopia (green-blind)
#367FE7
Tritanopia (blue-blind)
#9A7699
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a658ea;
/* rgb */ color: rgb(166, 88, 234);
/* oklch */ color: oklch(62.0% 0.214 305.6);
Tailwind
colors: {
  custom: {
    50: '#c58bf1',
    500: '#a658ea',
    950: '#000000',
  },
}
SCSS
$custom: #a658ea;
$custom-light: #c58bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#a658ea",
  "rgb": {
    "r": 166,
    "g": 88,
    "b": 234
  },
  "hsl": {
    "h": 272.055,
    "s": 77.66,
    "l": 63.137
  },
  "oklch": {
    "l": 0.61967,
    "c": 0.21448,
    "h": 305.6
  },
  "luminance": 0.21027
}

Semantic roles & 50–950 ramp

primary
#A658EA
secondary
#CDE9B5
accent
#DA0C6C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A658EA

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

Preview Lab → · Contrast checker → · Palette generator →

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