#A58FEE#A58FEE

#A58FEE is a light, vivid violet. Relative luminance 0.338; OKLCH L 70.8% C 0.137 H 293.2°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#A58FEE
RGBrgb(165, 143, 238)
HSLhsl(254, 74%, 75%)
HSVhsv(254, 40%, 93%)
CMYKcmyk(30.7%, 39.9%, 0%, 6.7%)
CIE-LABlab(64.82, 28.73, -45.00)
CIE-LCHlch(64.82, 53.39, 302.56°)
OKLaboklab(70.81% 0.0541 -0.1259)
OKLCHoklch(70.81% 0.137 293.2)
XYZxyz(40.7682, 33.8166, 85.2517)
Luminance0.3382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A58FEE #D8EE8F
analogous
#8FA9EE #A58FEE #D58FEE
triadic
#A58FEE #EEA58F #8FEEA5
tetradic
#A58FEE #EE8FA9 #D8EE8F #8FEED5
square
#A58FEE #EE8FA9 #D8EE8F #8FEED5
split-complementary
#A58FEE #EED58F #A9EE8F
monochromatic
#5025DE #7A5AE6 #A58FEE #D0C4F6 #EAE4FB

Accessibility & contrast

On white

2.71
#A58FEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#A58FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A58FEE
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A58FEE#FFFFFF#000000##000000
##A58FEE1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#739EF2
Deuteranopia (green-blind)
#769CEC
Tritanopia (blue-blind)
#95A0B3
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a58fee;
/* rgb */ color: rgb(165, 143, 238);
/* oklch */ color: oklch(70.8% 0.137 293.2);
Tailwind
colors: {
  custom: {
    50: '#c2b0f4',
    500: '#a58fee',
    950: '#000000',
  },
}
SCSS
$custom: #a58fee;
$custom-light: #c2b0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a58fee",
  "rgb": {
    "r": 165,
    "g": 143,
    "b": 238
  },
  "hsl": {
    "h": 253.895,
    "s": 73.643,
    "l": 74.706
  },
  "oklch": {
    "l": 0.70807,
    "c": 0.13706,
    "h": 293.2
  },
  "luminance": 0.33817
}

Semantic roles & 50–950 ramp

primary
#A58FEE
secondary
#EDF3D8
accent
#D610A8
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #A58FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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