#A487F6#A487F6

#A487F6 is a light, vivid violet. Relative luminance 0.319; OKLCH L 69.7% C 0.160 H 293.9°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#A487F6
RGBrgb(164, 135, 246)
HSLhsl(256, 86%, 75%)
HSVhsv(256, 45%, 96%)
CMYKcmyk(33.3%, 45.1%, 0%, 3.5%)
CIE-LABlab(63.24, 35.03, -51.90)
CIE-LCHlch(63.24, 62.61, 304.02°)
OKLaboklab(69.72% 0.0647 -0.1461)
OKLCHoklch(69.72% 0.16 293.9)
XYZxyz(40.6041, 31.8735, 91.1838)
Luminance0.3187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A487F6 #D9F687
analogous
#87A1F6 #A487F6 #DC87F6
triadic
#A487F6 #F6A487 #87F6A4
tetradic
#A487F6 #F687A1 #D9F687 #87F6DC
square
#A487F6 #F687A1 #D9F687 #87F6DC
split-complementary
#A487F6 #F6DC87 #A1F687
monochromatic
#4E15ED #794EF2 #A487F6 #CFC0FA #E9E3FD

Accessibility & contrast

On white

2.85
#A487F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#A487F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A487F6
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A487F6#FFFFFF#000000##000000
##A487F61.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#629AFA
Deuteranopia (green-blind)
#6797F3
Tritanopia (blue-blind)
#919CB3
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #a487f6;
/* rgb */ color: rgb(164, 135, 246);
/* oklch */ color: oklch(69.7% 0.160 293.9);
Tailwind
colors: {
  custom: {
    50: '#c2aafa',
    500: '#a487f6',
    950: '#000000',
  },
}
SCSS
$custom: #a487f6;
$custom-light: #c2aafa;
$custom-dark: #000000;
JSON
{
  "hex": "#a487f6",
  "rgb": {
    "r": 164,
    "g": 135,
    "b": 246
  },
  "hsl": {
    "h": 255.676,
    "s": 86.047,
    "l": 74.706
  },
  "oklch": {
    "l": 0.6972,
    "c": 0.15975,
    "h": 293.9
  },
  "luminance": 0.31874
}

Semantic roles & 50–950 ramp

primary
#A487F6
secondary
#EDF5D6
accent
#E303A8
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A487F6

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

Preview Lab → · Contrast checker → · Palette generator →

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