#A58BF7#A58BF7

#A58BF7 is a light, vivid violet. Relative luminance 0.332; OKLCH L 70.6% C 0.155 H 293.1°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#A58BF7
RGBrgb(165, 139, 247)
HSLhsl(254, 87%, 76%)
HSVhsv(254, 44%, 97%)
CMYKcmyk(33.2%, 43.7%, 0%, 3.1%)
CIE-LABlab(64.31, 33.28, -50.75)
CIE-LCHlch(64.31, 60.69, 303.25°)
OKLaboklab(70.56% 0.0608 -0.1427)
OKLCHoklch(70.56% 0.155 293.1)
XYZxyz(41.5339, 33.1792, 92.1936)
Luminance0.3318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A58BF7 #DDF78B
analogous
#8BA7F7 #A58BF7 #DB8BF7
triadic
#A58BF7 #F7A58B #8BF7A5
tetradic
#A58BF7 #F78BA7 #DDF78B #8BF7DB
square
#A58BF7 #F78BA7 #DDF78B #8BF7DB
split-complementary
#A58BF7 #F7DB8B #A7F78B
monochromatic
#4C18EF #7952F3 #A58BF7 #D1C4FB #E9E2FD

Accessibility & contrast

On white

2.75
#A58BF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#A58BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A58BF7
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A58BF7#FFFFFF#000000##000000
##A58BF71.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#689DFB
Deuteranopia (green-blind)
#6B9AF4
Tritanopia (blue-blind)
#929FB5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a58bf7;
/* rgb */ color: rgb(165, 139, 247);
/* oklch */ color: oklch(70.6% 0.155 293.1);
Tailwind
colors: {
  custom: {
    50: '#c3adfa',
    500: '#a58bf7',
    950: '#000000',
  },
}
SCSS
$custom: #a58bf7;
$custom-light: #c3adfa;
$custom-dark: #000000;
JSON
{
  "hex": "#a58bf7",
  "rgb": {
    "r": 165,
    "g": 139,
    "b": 247
  },
  "hsl": {
    "h": 254.444,
    "s": 87.097,
    "l": 75.686
  },
  "oklch": {
    "l": 0.70562,
    "c": 0.15512,
    "h": 293.1
  },
  "luminance": 0.3318
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A58BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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