#A58DF2#A58DF2

#A58DF2 is a light, vivid violet. Relative luminance 0.335; OKLCH L 70.7% C 0.145 H 293.2°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#A58DF2
RGBrgb(165, 141, 242)
HSLhsl(254, 80%, 75%)
HSVhsv(254, 42%, 95%)
CMYKcmyk(31.8%, 41.7%, 0%, 5.1%)
CIE-LABlab(64.53, 30.87, -47.65)
CIE-LCHlch(64.53, 56.78, 302.94°)
OKLaboklab(70.65% 0.0574 -0.1337)
OKLCHoklch(70.65% 0.145 293.2)
XYZxyz(41.0649, 33.4591, 88.2819)
Luminance0.3346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A58DF2 #DAF28D
analogous
#8DA8F2 #A58DF2 #D78DF2
triadic
#A58DF2 #F2A58D #8DF2A5
tetradic
#A58DF2 #F28DA8 #DAF28D #8DF2D7
square
#A58DF2 #F28DA8 #DAF28D #8DF2D7
split-complementary
#A58DF2 #F2D78D #A8F28D
monochromatic
#4E1FE5 #7A56EC #A58DF2 #D0C4F8 #E9E4FC

Accessibility & contrast

On white

2.73
#A58DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#A58DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A58DF2
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A58DF2#FFFFFF#000000##000000
##A58DF21.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9EF6
Deuteranopia (green-blind)
#719BF0
Tritanopia (blue-blind)
#93A0B4
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a58df2;
/* rgb */ color: rgb(165, 141, 242);
/* oklch */ color: oklch(70.7% 0.145 293.2);
Tailwind
colors: {
  custom: {
    50: '#c2aef7',
    500: '#a58df2',
    950: '#000000',
  },
}
SCSS
$custom: #a58df2;
$custom-light: #c2aef7;
$custom-dark: #000000;
JSON
{
  "hex": "#a58df2",
  "rgb": {
    "r": 165,
    "g": 141,
    "b": 242
  },
  "hsl": {
    "h": 254.257,
    "s": 79.528,
    "l": 75.098
  },
  "oklch": {
    "l": 0.70652,
    "c": 0.14547,
    "h": 293.2
  },
  "luminance": 0.3346
}

Semantic roles & 50–950 ramp

primary
#A58DF2
secondary
#EDF4D7
accent
#DC0AAA
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#131017
muted
#827F85

Preview Lab

Preview with #A58DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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