#A658EC#A658EC

#A658EC is a light, highly saturated violet. Relative luminance 0.211; OKLCH L 62.1% C 0.217 H 305.2°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#A658EC
RGBrgb(166, 88, 236)
HSLhsl(272, 80%, 64%)
HSVhsv(272, 63%, 93%)
CMYKcmyk(29.7%, 62.7%, 0%, 7.5%)
CIE-LABlab(53.11, 58.29, -62.53)
CIE-LCHlch(53.11, 85.48, 312.99°)
OKLaboklab(62.1% 0.1247 -0.1771)
OKLCHoklch(62.1% 0.217 305.2)
XYZxyz(34.3526, 21.1428, 81.6118)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A658EC #9EEC58
analogous
#5C58EC #A658EC #EC58E8
triadic
#A658EC #ECA658 #58ECA6
tetradic
#A658EC #EC5C58 #9EEC58 #58E8EC
square
#A658EC #EC5C58 #9EEC58 #58E8EC
split-complementary
#A658EC #E8EC58 #58EC5C
monochromatic
#6915B5 #8921E6 #A658EC #C38FF2 #E1C6F9

Accessibility & contrast

On white

4.02
#A658EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#A658EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A658EC
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A658EC#FFFFFF#000000##000000
##A658EC1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF1
Deuteranopia (green-blind)
#337FE9
Tritanopia (blue-blind)
#9A779A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a658ec;
/* rgb */ color: rgb(166, 88, 236);
/* oklch */ color: oklch(62.1% 0.217 305.2);
Tailwind
colors: {
  custom: {
    50: '#c58bf3',
    500: '#a658ec',
    950: '#000000',
  },
}
SCSS
$custom: #a658ec;
$custom-light: #c58bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#a658ec",
  "rgb": {
    "r": 166,
    "g": 88,
    "b": 236
  },
  "hsl": {
    "h": 271.622,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.62098,
    "c": 0.21661,
    "h": 305.2
  },
  "luminance": 0.21143
}

Semantic roles & 50–950 ramp

primary
#A658EC
secondary
#CEEAB6
accent
#DC0A6D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A658EC

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

Preview Lab → · Contrast checker → · Palette generator →

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