#A58BF2#A58BF2

#A58BF2 is a light, vivid violet. Relative luminance 0.329; OKLCH L 70.3% C 0.148 H 293.8°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#A58BF2
RGBrgb(165, 139, 242)
HSLhsl(255, 80%, 75%)
HSVhsv(255, 43%, 95%)
CMYKcmyk(31.8%, 42.6%, 0%, 5.1%)
CIE-LABlab(64.06, 32.01, -48.39)
CIE-LCHlch(64.06, 58.02, 303.48°)
OKLaboklab(70.3% 0.06 -0.1358)
OKLCHoklch(70.3% 0.149 293.8)
XYZxyz(40.7726, 32.8747, 88.1845)
Luminance0.3287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A58BF2 #D8F28B
analogous
#8BA4F2 #A58BF2 #D98BF2
triadic
#A58BF2 #F2A58B #8BF2A5
tetradic
#A58BF2 #F28BA4 #D8F28B #8BF2D9
square
#A58BF2 #F28BA4 #D8F28B #8BF2D9
split-complementary
#A58BF2 #F2D98B #A4F28B
monochromatic
#501DE6 #7A54EC #A58BF2 #D0C2F8 #EAE3FC

Accessibility & contrast

On white

2.77
#A58BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#A58BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A58BF2
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A58BF2#FFFFFF#000000##000000
##A58BF21.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9CF6
Deuteranopia (green-blind)
#6F9AEF
Tritanopia (blue-blind)
#939EB3
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a58bf2;
/* rgb */ color: rgb(165, 139, 242);
/* oklch */ color: oklch(70.3% 0.148 293.8);
Tailwind
colors: {
  custom: {
    50: '#c2adf7',
    500: '#a58bf2',
    950: '#000000',
  },
}
SCSS
$custom: #a58bf2;
$custom-light: #c2adf7;
$custom-dark: #000000;
JSON
{
  "hex": "#a58bf2",
  "rgb": {
    "r": 165,
    "g": 139,
    "b": 242
  },
  "hsl": {
    "h": 255.146,
    "s": 79.845,
    "l": 74.706
  },
  "oklch": {
    "l": 0.70296,
    "c": 0.1485,
    "h": 293.8
  },
  "luminance": 0.32875
}

Semantic roles & 50–950 ramp

primary
#A58BF2
secondary
#EDF4D7
accent
#DC09A7
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A58BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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