#A58DFC#A58DFC

#A58DFC is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.2% C 0.159 H 291.8°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#A58DFC
RGBrgb(165, 141, 252)
HSLhsl(253, 95%, 77%)
HSVhsv(253, 44%, 99%)
CMYKcmyk(34.5%, 44%, 0%, 1.2%)
CIE-LABlab(65.02, 33.43, -52.36)
CIE-LCHlch(65.02, 62.12, 302.56°)
OKLaboklab(71.19% 0.059 -0.1474)
OKLCHoklch(71.19% 0.159 291.8)
XYZxyz(42.6080, 34.0764, 96.4091)
Luminance0.3408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A58DFC #E4FC8D
analogous
#8DADFC #A58DFC #DD8DFC
triadic
#A58DFC #FCA58D #8DFCA5
tetradic
#A58DFC #FC8DAD #E4FC8D #8DFCDD
square
#A58DFC #FC8DAD #E4FC8D #8DFCDD
split-complementary
#A58DFC #FCDD8D #ADFC8D
monochromatic
#4716F9 #7651FA #A58DFC #D4C9FE #E7E1FE

Accessibility & contrast

On white

2.69
#A58DFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#A58DFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A58DFC
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A58DFC#FFFFFF#000000##000000
##A58DFC1.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#689FFF
Deuteranopia (green-blind)
#6A9CF9
Tritanopia (blue-blind)
#90A2B8
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a58dfc;
/* rgb */ color: rgb(165, 141, 252);
/* oklch */ color: oklch(71.2% 0.159 291.8);
Tailwind
colors: {
  custom: {
    50: '#c3aefe',
    500: '#a58dfc',
    950: '#000000',
  },
}
SCSS
$custom: #a58dfc;
$custom-light: #c3aefe;
$custom-dark: #000000;
JSON
{
  "hex": "#a58dfc",
  "rgb": {
    "r": 165,
    "g": 141,
    "b": 252
  },
  "hsl": {
    "h": 252.973,
    "s": 94.872,
    "l": 77.059
  },
  "oklch": {
    "l": 0.71185,
    "c": 0.15872,
    "h": 291.8
  },
  "luminance": 0.34077
}

Semantic roles & 50–950 ramp

primary
#A58DFC
secondary
#EFF6D5
accent
#E600B4
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A58DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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