#A958EC#A958EC

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

Color values

HEX#A958EC
RGBrgb(169, 88, 236)
HSLhsl(273, 80%, 64%)
HSVhsv(273, 63%, 93%)
CMYKcmyk(28.4%, 62.7%, 0%, 7.5%)
CIE-LABlab(53.46, 58.94, -61.94)
CIE-LCHlch(53.46, 85.50, 313.58°)
OKLaboklab(62.43% 0.1286 -0.1753)
OKLCHoklch(62.43% 0.217 306.3)
XYZxyz(34.9890, 21.4709, 81.6417)
Luminance0.2147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A958EC #9BEC58
analogous
#5F58EC #A958EC #EC58E5
triadic
#A958EC #ECA958 #58ECA9
tetradic
#A958EC #EC5F58 #9BEC58 #58E5EC
square
#A958EC #EC5F58 #9BEC58 #58E5EC
split-complementary
#A958EC #E5EC58 #58EC5F
monochromatic
#6C15B5 #8D21E6 #A958EC #C58FF2 #E2C6F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A958EC#FFFFFF#000000##000000
##A958EC1.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)
#007DF1
Deuteranopia (green-blind)
#3780E9
Tritanopia (blue-blind)
#9E779A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a958ec;
/* rgb */ color: rgb(169, 88, 236);
/* oklch */ color: oklch(62.4% 0.217 306.3);
Tailwind
colors: {
  custom: {
    50: '#c78bf3',
    500: '#a958ec',
    950: '#000000',
  },
}
SCSS
$custom: #a958ec;
$custom-light: #c78bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#a958ec",
  "rgb": {
    "r": 169,
    "g": 88,
    "b": 236
  },
  "hsl": {
    "h": 272.838,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.62433,
    "c": 0.21736,
    "h": 306.3
  },
  "luminance": 0.21471
}

Semantic roles & 50–950 ramp

primary
#A958EC
secondary
#CDEAB6
accent
#DC0A69
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A958EC

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

Preview Lab → · Contrast checker → · Palette generator →

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