#A58DF7#A58DF7

#A58DF7 is a light, vivid violet. Relative luminance 0.338; OKLCH L 70.9% C 0.152 H 292.5°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#A58DF7
RGBrgb(165, 141, 247)
HSLhsl(254, 87%, 76%)
HSVhsv(254, 43%, 97%)
CMYKcmyk(33.2%, 42.9%, 0%, 3.1%)
CIE-LABlab(64.77, 32.15, -50.01)
CIE-LCHlch(64.77, 59.45, 302.73°)
OKLaboklab(70.92% 0.0582 -0.1405)
OKLCHoklch(70.92% 0.152 292.5)
XYZxyz(41.8261, 33.7636, 92.2910)
Luminance0.3376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A58DF7 #DFF78D
analogous
#8DAAF7 #A58DF7 #DA8DF7
triadic
#A58DF7 #F7A58D #8DF7A5
tetradic
#A58DF7 #F78DAA #DFF78D #8DF7DA
square
#A58DF7 #F78DAA #DFF78D #8DF7DA
split-complementary
#A58DF7 #F7DA8D #AAF78D
monochromatic
#4B1BEF #7854F3 #A58DF7 #D2C6FB #E8E2FD

Accessibility & contrast

On white

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

On black

7.75
#A58DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A58DF7
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A58DF7#FFFFFF#000000##000000
##A58DF71.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9FFB
Deuteranopia (green-blind)
#6E9BF4
Tritanopia (blue-blind)
#92A1B6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a58df7;
/* rgb */ color: rgb(165, 141, 247);
/* oklch */ color: oklch(70.9% 0.152 292.5);
Tailwind
colors: {
  custom: {
    50: '#c2aefa',
    500: '#a58df7',
    950: '#000000',
  },
}
SCSS
$custom: #a58df7;
$custom-light: #c2aefa;
$custom-dark: #000000;
JSON
{
  "hex": "#a58df7",
  "rgb": {
    "r": 165,
    "g": 141,
    "b": 247
  },
  "hsl": {
    "h": 253.585,
    "s": 86.885,
    "l": 76.078
  },
  "oklch": {
    "l": 0.70916,
    "c": 0.15211,
    "h": 292.5
  },
  "luminance": 0.33764
}

Semantic roles & 50–950 ramp

primary
#A58DF7
secondary
#EEF5D6
accent
#E302B0
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A58DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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