#A487F9#A487F9

#A487F9 is a light, vivid violet. Relative luminance 0.321; OKLCH L 69.9% C 0.164 H 293.4°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#A487F9
RGBrgb(164, 135, 249)
HSLhsl(255, 90%, 75%)
HSVhsv(255, 46%, 98%)
CMYKcmyk(34.1%, 45.8%, 0%, 2.4%)
CIE-LABlab(63.39, 35.79, -53.30)
CIE-LCHlch(63.39, 64.21, 303.88°)
OKLaboklab(69.89% 0.0651 -0.1502)
OKLCHoklch(69.89% 0.164 293.4)
XYZxyz(41.0683, 32.0592, 93.6285)
Luminance0.3206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A487F9 #DCF987
analogous
#87A3F9 #A487F9 #DD87F9
triadic
#A487F9 #F9A487 #87F9A4
tetradic
#A487F9 #F987A3 #DCF987 #87F9DD
square
#A487F9 #F987A3 #DCF987 #87F9DD
split-complementary
#A487F9 #F9DD87 #A3F987
monochromatic
#4C12F3 #784DF6 #A487F9 #D0C1FC #E9E2FE

Accessibility & contrast

On white

2.83
#A487F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#A487F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A487F9
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A487F9#FFFFFF#000000##000000
##A487F91.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#609BFD
Deuteranopia (green-blind)
#6598F6
Tritanopia (blue-blind)
#909DB4
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #a487f9;
/* rgb */ color: rgb(164, 135, 249);
/* oklch */ color: oklch(69.9% 0.164 293.4);
Tailwind
colors: {
  custom: {
    50: '#c2aafc',
    500: '#a487f9',
    950: '#000000',
  },
}
SCSS
$custom: #a487f9;
$custom-light: #c2aafc;
$custom-dark: #000000;
JSON
{
  "hex": "#a487f9",
  "rgb": {
    "r": 164,
    "g": 135,
    "b": 249
  },
  "hsl": {
    "h": 255.263,
    "s": 90.476,
    "l": 75.294
  },
  "oklch": {
    "l": 0.69886,
    "c": 0.16366,
    "h": 293.4
  },
  "luminance": 0.3206
}

Semantic roles & 50–950 ramp

primary
#A487F9
secondary
#EDF6D5
accent
#E600AB
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A487F9

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

Preview Lab → · Contrast checker → · Palette generator →

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