#A758EF#A758EF

#A758EF is a light, highly saturated violet. Relative luminance 0.214; OKLCH L 62.4% C 0.220 H 304.9°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#A758EF
RGBrgb(167, 88, 239)
HSLhsl(271, 83%, 64%)
HSVhsv(271, 63%, 94%)
CMYKcmyk(30.1%, 63.2%, 0%, 6.3%)
CIE-LABlab(53.41, 59.19, -63.70)
CIE-LCHlch(53.41, 86.96, 312.90°)
OKLaboklab(62.41% 0.1258 -0.1805)
OKLCHoklch(62.41% 0.22 304.9)
XYZxyz(35.0026, 21.4271, 83.9365)
Luminance0.2143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A758EF #A0EF58
analogous
#5C58EF #A758EF #EF58EB
triadic
#A758EF #EFA758 #58EFA7
tetradic
#A758EF #EF5C58 #A0EF58 #58EBEF
square
#A758EF #EF5C58 #A0EF58 #58EBEF
split-complementary
#A758EF #EBEF58 #58EF5C
monochromatic
#6A12BB #8A20EA #A758EF #C490F4 #E2C8FA

Accessibility & contrast

On white

3.97
#A758EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#A758EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A758EF
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A758EF#FFFFFF#000000##000000
##A758EF1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF4
Deuteranopia (green-blind)
#3080EC
Tritanopia (blue-blind)
#9A789C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a758ef;
/* rgb */ color: rgb(167, 88, 239);
/* oklch */ color: oklch(62.4% 0.220 304.9);
Tailwind
colors: {
  custom: {
    50: '#c68bf5',
    500: '#a758ef',
    950: '#000000',
  },
}
SCSS
$custom: #a758ef;
$custom-light: #c68bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#a758ef",
  "rgb": {
    "r": 167,
    "g": 88,
    "b": 239
  },
  "hsl": {
    "h": 271.391,
    "s": 82.514,
    "l": 64.118
  },
  "oklch": {
    "l": 0.62408,
    "c": 0.22004,
    "h": 304.9
  },
  "luminance": 0.21427
}

Semantic roles & 50–950 ramp

primary
#A758EF
secondary
#D0ECB7
accent
#DF076E
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #A758EF

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

Preview Lab → · Contrast checker → · Palette generator →

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