#A58EFE#A58EFE

#A58EFE is a light, vivid violet. Relative luminance 0.345; OKLCH L 71.5% C 0.160 H 291.3°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#A58EFE
RGBrgb(165, 142, 254)
HSLhsl(252, 98%, 78%)
HSVhsv(252, 44%, 100%)
CMYKcmyk(35%, 44.1%, 0%, 0.4%)
CIE-LABlab(65.36, 33.38, -52.92)
CIE-LCHlch(65.36, 62.57, 302.24°)
OKLaboklab(71.47% 0.058 -0.149)
OKLCHoklch(71.47% 0.16 291.3)
XYZxyz(43.0747, 34.5001, 98.1364)
Luminance0.3450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A58EFE #E7FE8E
analogous
#8EAFFE #A58EFE #DD8EFE
triadic
#A58EFE #FEA58E #8EFEA5
tetradic
#A58EFE #FE8EAF #E7FE8E #8EFEDD
square
#A58EFE #FE8EAF #E7FE8E #8EFEDD
split-complementary
#A58EFE #FEDD8E #AFFE8E
monochromatic
#4415FD #7551FD #A58EFE #D5CBFF #E7E1FF

Accessibility & contrast

On white

2.66
#A58EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#A58EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A58EFE
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A58EFE#FFFFFF#000000##000000
##A58EFE1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#68A1FF
Deuteranopia (green-blind)
#6A9CFB
Tritanopia (blue-blind)
#8FA3BA
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a58efe;
/* rgb */ color: rgb(165, 142, 254);
/* oklch */ color: oklch(71.5% 0.160 291.3);
Tailwind
colors: {
  custom: {
    50: '#c3afff',
    500: '#a58efe',
    950: '#000000',
  },
}
SCSS
$custom: #a58efe;
$custom-light: #c3afff;
$custom-dark: #000000;
JSON
{
  "hex": "#a58efe",
  "rgb": {
    "r": 165,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 252.321,
    "s": 98.246,
    "l": 77.647
  },
  "oklch": {
    "l": 0.7147,
    "c": 0.15989,
    "h": 291.3
  },
  "luminance": 0.34501
}

Semantic roles & 50–950 ramp

primary
#A58EFE
secondary
#F0F7D4
accent
#E600B6
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A58EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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