#A758EB#A758EB

#A758EB is a light, highly saturated violet. Relative luminance 0.212; OKLCH L 62.1% C 0.216 H 305.8°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#A758EB
RGBrgb(167, 88, 235)
HSLhsl(272, 79%, 63%)
HSVhsv(272, 63%, 92%)
CMYKcmyk(28.9%, 62.6%, 0%, 7.8%)
CIE-LABlab(53.16, 58.28, -61.87)
CIE-LCHlch(53.16, 85.00, 313.29°)
OKLaboklab(62.14% 0.1261 -0.1751)
OKLCHoklch(62.14% 0.216 305.8)
XYZxyz(34.4182, 21.1934, 80.8587)
Luminance0.2119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A758EB #9CEB58
analogous
#5D58EB #A758EB #EB58E5
triadic
#A758EB #EBA758 #58EBA7
tetradic
#A758EB #EB5D58 #9CEB58 #58E5EB
square
#A758EB #EB5D58 #9CEB58 #58E5EB
split-complementary
#A758EB #E5EB58 #58EB5D
monochromatic
#6A15B3 #8A21E4 #A758EB #C48FF2 #E1C5F8

Accessibility & contrast

On white

4.01
#A758EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#A758EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A758EB
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A758EB#FFFFFF#000000##000000
##A758EB1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF0
Deuteranopia (green-blind)
#367FE8
Tritanopia (blue-blind)
#9B779A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a758eb;
/* rgb */ color: rgb(167, 88, 235);
/* oklch */ color: oklch(62.1% 0.216 305.8);
Tailwind
colors: {
  custom: {
    50: '#c58bf2',
    500: '#a758eb',
    950: '#000000',
  },
}
SCSS
$custom: #a758eb;
$custom-light: #c58bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#a758eb",
  "rgb": {
    "r": 167,
    "g": 88,
    "b": 235
  },
  "hsl": {
    "h": 272.245,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62144,
    "c": 0.21579,
    "h": 305.8
  },
  "luminance": 0.21193
}

Semantic roles & 50–950 ramp

primary
#A758EB
secondary
#CDEAB5
accent
#DB0B6B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A758EB

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

Preview Lab → · Contrast checker → · Palette generator →

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