#A658EF#A658EF

#A658EF is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.3% C 0.220 H 304.5°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#A658EF
RGBrgb(166, 88, 239)
HSLhsl(271, 83%, 64%)
HSVhsv(271, 63%, 94%)
CMYKcmyk(30.5%, 63.2%, 0%, 6.3%)
CIE-LABlab(53.30, 58.98, -63.90)
CIE-LCHlch(53.30, 86.96, 312.71°)
OKLaboklab(62.3% 0.1246 -0.1811)
OKLCHoklch(62.3% 0.22 304.5)
XYZxyz(34.7921, 21.3186, 83.9266)
Luminance0.2132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A658EF #A1EF58
analogous
#5B58EF #A658EF #EF58ED
triadic
#A658EF #EFA658 #58EFA6
tetradic
#A658EF #EF5B58 #A1EF58 #58EDEF
square
#A658EF #EF5B58 #A1EF58 #58EDEF
split-complementary
#A658EF #EDEF58 #58EF5B
monochromatic
#6912BB #8820EA #A658EF #C490F4 #E2C8FA

Accessibility & contrast

On white

3.99
#A658EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#A658EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A658EF
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A658EF#FFFFFF#000000##000000
##A658EF1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF4
Deuteranopia (green-blind)
#2E7FEC
Tritanopia (blue-blind)
#99789C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a658ef;
/* rgb */ color: rgb(166, 88, 239);
/* oklch */ color: oklch(62.3% 0.220 304.5);
Tailwind
colors: {
  custom: {
    50: '#c58bf5',
    500: '#a658ef',
    950: '#000000',
  },
}
SCSS
$custom: #a658ef;
$custom-light: #c58bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#a658ef",
  "rgb": {
    "r": 166,
    "g": 88,
    "b": 239
  },
  "hsl": {
    "h": 270.993,
    "s": 82.514,
    "l": 64.118
  },
  "oklch": {
    "l": 0.62297,
    "c": 0.21981,
    "h": 304.5
  },
  "luminance": 0.21318
}

Semantic roles & 50–950 ramp

primary
#A658EF
secondary
#D1ECB7
accent
#DF076F
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #A658EF

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

Preview Lab → · Contrast checker → · Palette generator →

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