#A582FC#A582FC

#A582FC is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.3% C 0.175 H 294.6°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#A582FC
RGBrgb(165, 130, 252)
HSLhsl(257, 95%, 75%)
HSVhsv(257, 48%, 99%)
CMYKcmyk(34.5%, 48.4%, 0%, 1.2%)
CIE-LABlab(62.50, 39.63, -56.36)
CIE-LCHlch(62.50, 68.90, 305.11°)
OKLaboklab(69.29% 0.0729 -0.1591)
OKLCHoklch(69.29% 0.175 294.6)
XYZxyz(41.0659, 30.9921, 95.8951)
Luminance0.3099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A582FC #D9FC82
analogous
#829CFC #A582FC #E282FC
triadic
#A582FC #FCA582 #82FCA5
tetradic
#A582FC #FC829C #D9FC82 #82FCE2
square
#A582FC #FC829C #D9FC82 #82FCE2
split-complementary
#A582FC #FCE282 #9CFC82
monochromatic
#4F0AF9 #7A46FB #A582FC #D0BEFD #E9E1FE

Accessibility & contrast

On white

2.92
#A582FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#A582FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A582FC
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A582FC#FFFFFF#000000##000000
##A582FC1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5698FF
Deuteranopia (green-blind)
#5D95F9
Tritanopia (blue-blind)
#919AB3
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a582fc;
/* rgb */ color: rgb(165, 130, 252);
/* oklch */ color: oklch(69.3% 0.175 294.6);
Tailwind
colors: {
  custom: {
    50: '#c3a7fe',
    500: '#a582fc',
    950: '#000000',
  },
}
SCSS
$custom: #a582fc;
$custom-light: #c3a7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#a582fc",
  "rgb": {
    "r": 165,
    "g": 130,
    "b": 252
  },
  "hsl": {
    "h": 257.213,
    "s": 95.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.6929,
    "c": 0.17501,
    "h": 294.6
  },
  "luminance": 0.30993
}

Semantic roles & 50–950 ramp

primary
#A582FC
secondary
#EDF7D4
accent
#E600A4
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A582FC

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

Preview Lab → · Contrast checker → · Palette generator →

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