#A58FEB#A58FEB

#A58FEB is a light, vivid violet. Relative luminance 0.336; OKLCH L 70.7% C 0.133 H 293.7°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#A58FEB
RGBrgb(165, 143, 235)
HSLhsl(254, 70%, 74%)
HSVhsv(254, 39%, 92%)
CMYKcmyk(29.8%, 39.1%, 0%, 7.8%)
CIE-LABlab(64.68, 27.98, -43.56)
CIE-LCHlch(64.68, 51.77, 302.71°)
OKLaboklab(70.66% 0.0535 -0.1218)
OKLCHoklch(70.66% 0.133 293.7)
XYZxyz(40.3312, 33.6418, 82.9498)
Luminance0.3364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A58FEB #D5EB8F
analogous
#8FA7EB #A58FEB #D38FEB
triadic
#A58FEB #EBA58F #8FEBA5
tetradic
#A58FEB #EB8FA7 #D5EB8F #8FEBD3
square
#A58FEB #EB8FA7 #D5EB8F #8FEBD3
split-complementary
#A58FEB #EBD38F #A7EB8F
monochromatic
#5227D8 #7B5BE2 #A58FEB #CFC3F4 #EAE5FA

Accessibility & contrast

On white

2.72
#A58FEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#A58FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A58FEB
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A58FEB#FFFFFF#000000##000000
##A58FEB1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#749EEF
Deuteranopia (green-blind)
#779BE9
Tritanopia (blue-blind)
#969FB2
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a58feb;
/* rgb */ color: rgb(165, 143, 235);
/* oklch */ color: oklch(70.7% 0.133 293.7);
Tailwind
colors: {
  custom: {
    50: '#c2b0f2',
    500: '#a58feb',
    950: '#000000',
  },
}
SCSS
$custom: #a58feb;
$custom-light: #c2b0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a58feb",
  "rgb": {
    "r": 165,
    "g": 143,
    "b": 235
  },
  "hsl": {
    "h": 254.348,
    "s": 69.697,
    "l": 74.118
  },
  "oklch": {
    "l": 0.70655,
    "c": 0.13301,
    "h": 293.7
  },
  "luminance": 0.33642
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A58FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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