#A582FA#A582FA

#A582FA is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.2% C 0.172 H 294.9°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#A582FA
RGBrgb(165, 130, 250)
HSLhsl(258, 92%, 75%)
HSVhsv(258, 48%, 98%)
CMYKcmyk(34%, 48%, 0%, 2%)
CIE-LABlab(62.39, 39.12, -55.43)
CIE-LCHlch(62.39, 67.85, 305.21°)
OKLaboklab(69.18% 0.0727 -0.1564)
OKLCHoklch(69.18% 0.172 294.9)
XYZxyz(40.7506, 30.8660, 94.2347)
Luminance0.3087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A582FA #D7FA82
analogous
#829BFA #A582FA #E182FA
triadic
#A582FA #FAA582 #82FAA5
tetradic
#A582FA #FA829B #D7FA82 #82FAE1
square
#A582FA #FA829B #D7FA82 #82FAE1
split-complementary
#A582FA #FAE182 #9BFA82
monochromatic
#500CF5 #7B47F8 #A582FA #CFBDFC #EAE2FE

Accessibility & contrast

On white

2.93
#A582FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#A582FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A582FA
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A582FA#FFFFFF#000000##000000
##A582FA1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5798FE
Deuteranopia (green-blind)
#5E95F7
Tritanopia (blue-blind)
#9199B2
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a582fa;
/* rgb */ color: rgb(165, 130, 250);
/* oklch */ color: oklch(69.2% 0.172 294.9);
Tailwind
colors: {
  custom: {
    50: '#c3a7fc',
    500: '#a582fa',
    950: '#000000',
  },
}
SCSS
$custom: #a582fa;
$custom-light: #c3a7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a582fa",
  "rgb": {
    "r": 165,
    "g": 130,
    "b": 250
  },
  "hsl": {
    "h": 257.5,
    "s": 92.308,
    "l": 74.51
  },
  "oklch": {
    "l": 0.69176,
    "c": 0.17246,
    "h": 294.9
  },
  "luminance": 0.30867
}

Semantic roles & 50–950 ramp

primary
#A582FA
secondary
#ECF6D5
accent
#E600A3
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A582FA

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

Preview Lab → · Contrast checker → · Palette generator →

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