#A582EF#A582EF

#A582EF is a light, vivid violet. Relative luminance 0.302; OKLCH L 68.6% C 0.158 H 296.8°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#A582EF
RGBrgb(165, 130, 239)
HSLhsl(259, 77%, 72%)
HSVhsv(259, 46%, 94%)
CMYKcmyk(31%, 45.6%, 0%, 6.3%)
CIE-LABlab(61.82, 36.34, -50.28)
CIE-LCHlch(61.82, 62.04, 305.86°)
OKLaboklab(68.56% 0.0715 -0.1413)
OKLCHoklch(68.56% 0.158 296.8)
XYZxyz(39.0759, 30.1961, 85.4143)
Luminance0.3020 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A582EF #CCEF82
analogous
#8296EF #A582EF #DB82EF
triadic
#A582EF #EFA582 #82EFA5
tetradic
#A582EF #EF8296 #CCEF82 #82EFDB
square
#A582EF #EF8296 #CCEF82 #82EFDB
split-complementary
#A582EF #EFDB82 #96EF82
monochromatic
#591CDB #7E4CE8 #A582EF #CCB8F6 #EBE4FC

Accessibility & contrast

On white

2.98
#A582EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#A582EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A582EF
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A582EF#FFFFFF#000000##000000
##A582EF1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F96F3
Deuteranopia (green-blind)
#6694EC
Tritanopia (blue-blind)
#9596AD
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a582ef;
/* rgb */ color: rgb(165, 130, 239);
/* oklch */ color: oklch(68.6% 0.158 296.8);
Tailwind
colors: {
  custom: {
    50: '#c2a7f5',
    500: '#a582ef',
    950: '#000000',
  },
}
SCSS
$custom: #a582ef;
$custom-light: #c2a7f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a582ef",
  "rgb": {
    "r": 165,
    "g": 130,
    "b": 239
  },
  "hsl": {
    "h": 259.266,
    "s": 77.305,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68562,
    "c": 0.15835,
    "h": 296.8
  },
  "luminance": 0.30197
}

Semantic roles & 50–950 ramp

primary
#A582EF
secondary
#EAF3D8
accent
#DA0C98
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#130F17
muted
#827F85

Preview Lab

Preview with #A582EF

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

Preview Lab → · Contrast checker → · Palette generator →

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