#A658E7#A658E7

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

Color values

HEX#A658E7
RGBrgb(166, 88, 231)
HSLhsl(273, 75%, 63%)
HSVhsv(273, 62%, 91%)
CMYKcmyk(28.1%, 61.9%, 0%, 9.4%)
CIE-LABlab(52.79, 57.15, -60.22)
CIE-LCHlch(52.79, 83.02, 313.50°)
OKLaboklab(61.77% 0.125 -0.1703)
OKLCHoklch(61.77% 0.211 306.3)
XYZxyz(33.6363, 20.8563, 77.8395)
Luminance0.2086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A658E7 #99E758
analogous
#5E58E7 #A658E7 #E758E1
triadic
#A658E7 #E7A658 #58E7A6
tetradic
#A658E7 #E75E58 #99E758 #58E1E7
square
#A658E7 #E75E58 #99E758 #58E1E7
split-complementary
#A658E7 #E1E758 #58E75E
monochromatic
#6919AC #8922DF #A658E7 #C38EEF #DFC3F6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A658E7#FFFFFF#000000##000000
##A658E71.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)
#007BEB
Deuteranopia (green-blind)
#3A7EE4
Tritanopia (blue-blind)
#9B7598
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a658e7;
/* rgb */ color: rgb(166, 88, 231);
/* oklch */ color: oklch(61.8% 0.211 306.3);
Tailwind
colors: {
  custom: {
    50: '#c58bef',
    500: '#a658e7',
    950: '#000000',
  },
}
SCSS
$custom: #a658e7;
$custom-light: #c58bef;
$custom-dark: #000000;
JSON
{
  "hex": "#a658e7",
  "rgb": {
    "r": 166,
    "g": 88,
    "b": 231
  },
  "hsl": {
    "h": 272.727,
    "s": 74.869,
    "l": 62.549
  },
  "oklch": {
    "l": 0.61771,
    "c": 0.21128,
    "h": 306.3
  },
  "luminance": 0.20856
}

Semantic roles & 50–950 ramp

primary
#A658E7
secondary
#CBE7B3
accent
#D70E6A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A658E7

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

Preview Lab → · Contrast checker → · Palette generator →

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