#A758E4#A758E4

#A758E4 is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.7% C 0.208 H 307.3°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#A758E4
RGBrgb(167, 88, 228)
HSLhsl(274, 72%, 62%)
HSVhsv(274, 61%, 89%)
CMYKcmyk(26.8%, 61.4%, 0%, 10.6%)
CIE-LABlab(52.73, 56.70, -58.63)
CIE-LCHlch(52.73, 81.56, 314.04°)
OKLaboklab(61.69% 0.1264 -0.1656)
OKLCHoklch(61.69% 0.208 307.3)
XYZxyz(33.4268, 20.7968, 75.6370)
Luminance0.2080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A758E4 #95E458
analogous
#6158E4 #A758E4 #E458DB
triadic
#A758E4 #E4A758 #58E4A7
tetradic
#A758E4 #E46158 #95E458 #58DBE4
square
#A758E4 #E46158 #95E458 #58DBE4
split-complementary
#A758E4 #DBE458 #58E461
monochromatic
#6A1BA7 #8B23DB #A758E4 #C38DED #DFC1F5

Accessibility & contrast

On white

4.07
#A758E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#A758E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A758E4
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A758E4#FFFFFF#000000##000000
##A758E41.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#097BE8
Deuteranopia (green-blind)
#3F7FE1
Tritanopia (blue-blind)
#9D7496
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a758e4;
/* rgb */ color: rgb(167, 88, 228);
/* oklch */ color: oklch(61.7% 0.208 307.3);
Tailwind
colors: {
  custom: {
    50: '#c58bed',
    500: '#a758e4',
    950: '#000000',
  },
}
SCSS
$custom: #a758e4;
$custom-light: #c58bed;
$custom-dark: #000000;
JSON
{
  "hex": "#a758e4",
  "rgb": {
    "r": 167,
    "g": 88,
    "b": 228
  },
  "hsl": {
    "h": 273.857,
    "s": 72.165,
    "l": 61.961
  },
  "oklch": {
    "l": 0.61691,
    "c": 0.20835,
    "h": 307.3
  },
  "luminance": 0.20796
}

Semantic roles & 50–950 ramp

primary
#A758E4
secondary
#C9E6B2
accent
#D41166
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A758E4

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

Preview Lab → · Contrast checker → · Palette generator →

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