#A658EB#A658EB

#A658EB is a light, highly saturated violet. Relative luminance 0.211; OKLCH L 62.0% C 0.216 H 305.4°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#A658EB
RGBrgb(166, 88, 235)
HSLhsl(272, 79%, 63%)
HSVhsv(272, 63%, 92%)
CMYKcmyk(29.4%, 62.6%, 0%, 7.8%)
CIE-LABlab(53.04, 58.06, -62.07)
CIE-LCHlch(53.04, 84.99, 313.09°)
OKLaboklab(62.03% 0.1248 -0.1757)
OKLCHoklch(62.03% 0.216 305.4)
XYZxyz(34.2077, 21.0848, 80.8488)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A658EB #9DEB58
analogous
#5C58EB #A658EB #EB58E6
triadic
#A658EB #EBA658 #58EBA6
tetradic
#A658EB #EB5C58 #9DEB58 #58E6EB
square
#A658EB #EB5C58 #9DEB58 #58E6EB
split-complementary
#A658EB #E6EB58 #58EB5C
monochromatic
#6915B3 #8921E4 #A658EB #C38FF2 #E0C5F8

Accessibility & contrast

On white

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

On black

5.22
#A658EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A658EB
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A658EB#FFFFFF#000000##000000
##A658EB1.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF0
Deuteranopia (green-blind)
#347FE8
Tritanopia (blue-blind)
#9A779A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a658eb;
/* rgb */ color: rgb(166, 88, 235);
/* oklch */ color: oklch(62.0% 0.216 305.4);
Tailwind
colors: {
  custom: {
    50: '#c58bf2',
    500: '#a658eb',
    950: '#000000',
  },
}
SCSS
$custom: #a658eb;
$custom-light: #c58bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#a658eb",
  "rgb": {
    "r": 166,
    "g": 88,
    "b": 235
  },
  "hsl": {
    "h": 271.837,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62032,
    "c": 0.21554,
    "h": 305.4
  },
  "luminance": 0.21085
}

Semantic roles & 50–950 ramp

primary
#A658EB
secondary
#CEEAB5
accent
#DB0B6C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A658EB

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

Preview Lab → · Contrast checker → · Palette generator →

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