#A958EB#A958EB

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

Color values

HEX#A958EB
RGBrgb(169, 88, 235)
HSLhsl(273, 79%, 63%)
HSVhsv(273, 63%, 92%)
CMYKcmyk(28.1%, 62.6%, 0%, 7.8%)
CIE-LABlab(53.40, 58.72, -61.48)
CIE-LCHlch(53.40, 85.01, 313.69°)
OKLaboklab(62.37% 0.1286 -0.1739)
OKLCHoklch(62.37% 0.216 306.5)
XYZxyz(34.8441, 21.4130, 80.8786)
Luminance0.2141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A958EB #9AEB58
analogous
#5F58EB #A958EB #EB58E4
triadic
#A958EB #EBA958 #58EBA9
tetradic
#A958EB #EB5F58 #9AEB58 #58E4EB
square
#A958EB #EB5F58 #9AEB58 #58E4EB
split-complementary
#A958EB #E4EB58 #58EB5F
monochromatic
#6C15B3 #8D21E4 #A958EB #C58FF2 #E1C5F8

Accessibility & contrast

On white

3.98
#A958EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#A958EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A958EB
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A958EB#FFFFFF#000000##000000
##A958EB1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF0
Deuteranopia (green-blind)
#3980E8
Tritanopia (blue-blind)
#9E769A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a958eb;
/* rgb */ color: rgb(169, 88, 235);
/* oklch */ color: oklch(62.4% 0.216 306.5);
Tailwind
colors: {
  custom: {
    50: '#c78bf2',
    500: '#a958eb',
    950: '#000000',
  },
}
SCSS
$custom: #a958eb;
$custom-light: #c78bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#a958eb",
  "rgb": {
    "r": 169,
    "g": 88,
    "b": 235
  },
  "hsl": {
    "h": 273.061,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62368,
    "c": 0.2163,
    "h": 306.5
  },
  "luminance": 0.21413
}

Semantic roles & 50–950 ramp

primary
#A958EB
secondary
#CDEAB5
accent
#DB0B68
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A958EB

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

Preview Lab → · Contrast checker → · Palette generator →

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