#A58DEC#A58DEC

#A58DEC is a light, vivid violet. Relative luminance 0.331; OKLCH L 70.3% C 0.137 H 294.2°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#A58DEC
RGBrgb(165, 141, 236)
HSLhsl(255, 71%, 74%)
HSVhsv(255, 40%, 93%)
CMYKcmyk(30.1%, 40.3%, 0%, 7.5%)
CIE-LABlab(64.25, 29.37, -44.79)
CIE-LCHlch(64.25, 53.56, 303.25°)
OKLaboklab(70.34% 0.0564 -0.1254)
OKLCHoklch(70.34% 0.137 294.2)
XYZxyz(40.1785, 33.1046, 83.6136)
Luminance0.3311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A58DEC #D4EC8D
analogous
#8DA5EC #A58DEC #D58DEC
triadic
#A58DEC #ECA58D #8DECA5
tetradic
#A58DEC #EC8DA5 #D4EC8D #8DECD5
square
#A58DEC #EC8DA5 #D4EC8D #8DECD5
split-complementary
#A58DEC #ECD58D #A5EC8D
monochromatic
#5224DA #7C59E3 #A58DEC #CEC1F5 #EAE5FB

Accessibility & contrast

On white

2.76
#A58DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#A58DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A58DEC
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A58DEC#FFFFFF#000000##000000
##A58DEC1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#719DF0
Deuteranopia (green-blind)
#749AEA
Tritanopia (blue-blind)
#959EB1
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a58dec;
/* rgb */ color: rgb(165, 141, 236);
/* oklch */ color: oklch(70.3% 0.137 294.2);
Tailwind
colors: {
  custom: {
    50: '#c2aef2',
    500: '#a58dec',
    950: '#000000',
  },
}
SCSS
$custom: #a58dec;
$custom-light: #c2aef2;
$custom-dark: #000000;
JSON
{
  "hex": "#a58dec",
  "rgb": {
    "r": 165,
    "g": 141,
    "b": 236
  },
  "hsl": {
    "h": 255.158,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.70343,
    "c": 0.13745,
    "h": 294.2
  },
  "luminance": 0.33105
}

Semantic roles & 50–950 ramp

primary
#A58DEC
secondary
#ECF2D9
accent
#D312A3
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #A58DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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