#A458EB#A458EB

#A458EB is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.8% C 0.215 H 304.6°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#A458EB
RGBrgb(164, 88, 235)
HSLhsl(271, 79%, 63%)
HSVhsv(271, 63%, 92%)
CMYKcmyk(30.2%, 62.6%, 0%, 7.8%)
CIE-LABlab(52.81, 57.63, -62.46)
CIE-LCHlch(52.81, 84.98, 312.70°)
OKLaboklab(61.81% 0.1222 -0.1769)
OKLCHoklch(61.81% 0.215 304.6)
XYZxyz(33.7916, 20.8703, 80.8293)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A458EB #9FEB58
analogous
#5A58EB #A458EB #EB58E9
triadic
#A458EB #EBA458 #58EBA4
tetradic
#A458EB #EB5A58 #9FEB58 #58E9EB
square
#A458EB #EB5A58 #9FEB58 #58E9EB
split-complementary
#A458EB #E9EB58 #58EB5A
monochromatic
#6715B3 #8621E4 #A458EB #C28FF2 #E0C5F8

Accessibility & contrast

On white

4.06
#A458EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#A458EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A458EB
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A458EB#FFFFFF#000000##000000
##A458EB1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF0
Deuteranopia (green-blind)
#317EE8
Tritanopia (blue-blind)
#97779A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a458eb;
/* rgb */ color: rgb(164, 88, 235);
/* oklch */ color: oklch(61.8% 0.215 304.6);
Tailwind
colors: {
  custom: {
    50: '#c38bf2',
    500: '#a458eb',
    950: '#000000',
  },
}
SCSS
$custom: #a458eb;
$custom-light: #c38bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#a458eb",
  "rgb": {
    "r": 164,
    "g": 88,
    "b": 235
  },
  "hsl": {
    "h": 271.02,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61811,
    "c": 0.21507,
    "h": 304.6
  },
  "luminance": 0.2087
}

Semantic roles & 50–950 ramp

primary
#A458EB
secondary
#CFEAB5
accent
#DB0B6F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A458EB

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

Preview Lab → · Contrast checker → · Palette generator →

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