#A758E7#A758E7

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

Color values

HEX#A758E7
RGBrgb(167, 88, 231)
HSLhsl(273, 75%, 63%)
HSVhsv(273, 62%, 91%)
CMYKcmyk(27.7%, 61.9%, 0%, 9.4%)
CIE-LABlab(52.91, 57.37, -60.03)
CIE-LCHlch(52.91, 83.03, 313.70°)
OKLaboklab(61.88% 0.1263 -0.1697)
OKLCHoklch(61.88% 0.212 306.7)
XYZxyz(33.8468, 20.9648, 77.8493)
Luminance0.2096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A758E7 #98E758
analogous
#6058E7 #A758E7 #E758DF
triadic
#A758E7 #E7A758 #58E7A7
tetradic
#A758E7 #E76058 #98E758 #58DFE7
square
#A758E7 #E76058 #98E758 #58DFE7
split-complementary
#A758E7 #DFE758 #58E760
monochromatic
#6A19AC #8B22DF #A758E7 #C38EEF #DFC3F6

Accessibility & contrast

On white

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

On black

5.19
#A758E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A758E7
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A758E7#FFFFFF#000000##000000
##A758E71.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEB
Deuteranopia (green-blind)
#3B7FE4
Tritanopia (blue-blind)
#9D7598
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a758e7;
/* rgb */ color: rgb(167, 88, 231);
/* oklch */ color: oklch(61.9% 0.212 306.7);
Tailwind
colors: {
  custom: {
    50: '#c58bef',
    500: '#a758e7',
    950: '#000000',
  },
}
SCSS
$custom: #a758e7;
$custom-light: #c58bef;
$custom-dark: #000000;
JSON
{
  "hex": "#a758e7",
  "rgb": {
    "r": 167,
    "g": 88,
    "b": 231
  },
  "hsl": {
    "h": 273.147,
    "s": 74.869,
    "l": 62.549
  },
  "oklch": {
    "l": 0.61883,
    "c": 0.21153,
    "h": 306.7
  },
  "luminance": 0.20964
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A758E7

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

Preview Lab → · Contrast checker → · Palette generator →

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