#A758E5#A758E5

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

Color values

HEX#A758E5
RGBrgb(167, 88, 229)
HSLhsl(274, 73%, 62%)
HSVhsv(274, 62%, 90%)
CMYKcmyk(27.1%, 61.6%, 0%, 10.2%)
CIE-LABlab(52.79, 56.92, -59.10)
CIE-LCHlch(52.79, 82.05, 313.92°)
OKLaboklab(61.76% 0.1264 -0.167)
OKLCHoklch(61.76% 0.209 307.1)
XYZxyz(33.5660, 20.8525, 76.3702)
Luminance0.2085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A758E5 #96E558
analogous
#6158E5 #A758E5 #E558DD
triadic
#A758E5 #E5A758 #58E5A7
tetradic
#A758E5 #E56158 #96E558 #58DDE5
square
#A758E5 #E56158 #96E558 #58DDE5
split-complementary
#A758E5 #DDE558 #58E561
monochromatic
#6A1AA8 #8B23DD #A758E5 #C38DED #DFC2F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A758E5#FFFFFF#000000##000000
##A758E51.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)
#037BE9
Deuteranopia (green-blind)
#3D7FE2
Tritanopia (blue-blind)
#9D7497
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a758e5;
/* rgb */ color: rgb(167, 88, 229);
/* oklch */ color: oklch(61.8% 0.209 307.1);
Tailwind
colors: {
  custom: {
    50: '#c58bee',
    500: '#a758e5',
    950: '#000000',
  },
}
SCSS
$custom: #a758e5;
$custom-light: #c58bee;
$custom-dark: #000000;
JSON
{
  "hex": "#a758e5",
  "rgb": {
    "r": 167,
    "g": 88,
    "b": 229
  },
  "hsl": {
    "h": 273.617,
    "s": 73.057,
    "l": 62.157
  },
  "oklch": {
    "l": 0.61755,
    "c": 0.20941,
    "h": 307.1
  },
  "luminance": 0.20852
}

Semantic roles & 50–950 ramp

primary
#A758E5
secondary
#C9E6B3
accent
#D51067
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A758E5

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

Preview Lab → · Contrast checker → · Palette generator →

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