#A758E8#A758E8

#A758E8 is a mid, highly saturated violet. Relative luminance 0.210; OKLCH L 61.9% C 0.213 H 306.4°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#A758E8
RGBrgb(167, 88, 232)
HSLhsl(273, 76%, 63%)
HSVhsv(273, 62%, 91%)
CMYKcmyk(28%, 62.1%, 0%, 9%)
CIE-LABlab(52.97, 57.60, -60.49)
CIE-LCHlch(52.97, 83.53, 313.60°)
OKLaboklab(61.95% 0.1262 -0.1711)
OKLCHoklch(61.95% 0.213 306.4)
XYZxyz(33.9885, 21.0215, 78.5953)
Luminance0.2102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A758E8 #99E858
analogous
#5F58E8 #A758E8 #E858E1
triadic
#A758E8 #E8A758 #58E8A7
tetradic
#A758E8 #E85F58 #99E858 #58E1E8
square
#A758E8 #E85F58 #99E858 #58E1E8
split-complementary
#A758E8 #E1E858 #58E85F
monochromatic
#6A18AE #8B22E1 #A758E8 #C38EEF #E0C4F7

Accessibility & contrast

On white

4.04
#A758E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#A758E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A758E8
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A758E8#FFFFFF#000000##000000
##A758E81.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEC
Deuteranopia (green-blind)
#3A7FE5
Tritanopia (blue-blind)
#9C7698
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a758e8;
/* rgb */ color: rgb(167, 88, 232);
/* oklch */ color: oklch(61.9% 0.213 306.4);
Tailwind
colors: {
  custom: {
    50: '#c58bf0',
    500: '#a758e8',
    950: '#000000',
  },
}
SCSS
$custom: #a758e8;
$custom-light: #c58bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#a758e8",
  "rgb": {
    "r": 167,
    "g": 88,
    "b": 232
  },
  "hsl": {
    "h": 272.917,
    "s": 75.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.61948,
    "c": 0.2126,
    "h": 306.4
  },
  "luminance": 0.21021
}

Semantic roles & 50–950 ramp

primary
#A758E8
secondary
#CBE8B4
accent
#D80E69
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A758E8

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

Preview Lab → · Contrast checker → · Palette generator →

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