#A758EC#A758EC

#A758EC is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.2% C 0.217 H 305.5°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#A758EC
RGBrgb(167, 88, 236)
HSLhsl(272, 80%, 64%)
HSVhsv(272, 63%, 93%)
CMYKcmyk(29.2%, 62.7%, 0%, 7.5%)
CIE-LABlab(53.22, 58.51, -62.33)
CIE-LCHlch(53.22, 85.49, 313.19°)
OKLaboklab(62.21% 0.126 -0.1765)
OKLCHoklch(62.21% 0.217 305.5)
XYZxyz(34.5631, 21.2513, 81.6217)
Luminance0.2125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A758EC #9DEC58
analogous
#5D58EC #A758EC #EC58E7
triadic
#A758EC #ECA758 #58ECA7
tetradic
#A758EC #EC5D58 #9DEC58 #58E7EC
square
#A758EC #EC5D58 #9DEC58 #58E7EC
split-complementary
#A758EC #E7EC58 #58EC5D
monochromatic
#6A15B5 #8A21E6 #A758EC #C48FF2 #E1C6F9

Accessibility & contrast

On white

4.00
#A758EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#A758EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A758EC
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A758EC#FFFFFF#000000##000000
##A758EC1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF1
Deuteranopia (green-blind)
#347FE9
Tritanopia (blue-blind)
#9B779A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a758ec;
/* rgb */ color: rgb(167, 88, 236);
/* oklch */ color: oklch(62.2% 0.217 305.5);
Tailwind
colors: {
  custom: {
    50: '#c58bf3',
    500: '#a758ec',
    950: '#000000',
  },
}
SCSS
$custom: #a758ec;
$custom-light: #c58bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#a758ec",
  "rgb": {
    "r": 167,
    "g": 88,
    "b": 236
  },
  "hsl": {
    "h": 272.027,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.62209,
    "c": 0.21686,
    "h": 305.5
  },
  "luminance": 0.21251
}

Semantic roles & 50–950 ramp

primary
#A758EC
secondary
#CEEAB6
accent
#DC0A6C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A758EC

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

Preview Lab → · Contrast checker → · Palette generator →

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