#A487DF#A487DF

#A487DF is a light, vivid violet. Relative luminance 0.305; OKLCH L 68.5% C 0.129 H 298.1°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#A487DF
RGBrgb(164, 135, 223)
HSLhsl(260, 58%, 70%)
HSVhsv(260, 39%, 87%)
CMYKcmyk(26.5%, 39.5%, 0%, 12.5%)
CIE-LABlab(62.12, 29.29, -40.93)
CIE-LCHlch(62.12, 50.33, 305.59°)
OKLaboklab(68.52% 0.0609 -0.1142)
OKLCHoklch(68.52% 0.129 298.1)
XYZxyz(37.2900, 30.5479, 73.7295)
Luminance0.3055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A487DF #C2DF87
analogous
#8796DF #A487DF #D087DF
triadic
#A487DF #DFA487 #87DFA4
tetradic
#A487DF #DF8796 #C2DF87 #87DFD0
square
#A487DF #DF8796 #C2DF87 #87DFD0
split-complementary
#A487DF #DFD087 #96DF87
monochromatic
#5F32BA #7F57D2 #A487DF #C9B7EC #EDE7F9

Accessibility & contrast

On white

2.95
#A487DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#A487DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A487DF
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A487DF#FFFFFF#000000##000000
##A487DF1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F96E2
Deuteranopia (green-blind)
#7595DD
Tritanopia (blue-blind)
#9896A8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a487df;
/* rgb */ color: rgb(164, 135, 223);
/* oklch */ color: oklch(68.5% 0.129 298.1);
Tailwind
colors: {
  custom: {
    50: '#c1aae9',
    500: '#a487df',
    950: '#000000',
  },
}
SCSS
$custom: #a487df;
$custom-light: #c1aae9;
$custom-dark: #000000;
JSON
{
  "hex": "#a487df",
  "rgb": {
    "r": 164,
    "g": 135,
    "b": 223
  },
  "hsl": {
    "h": 259.773,
    "s": 57.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.68515,
    "c": 0.12941,
    "h": 298.1
  },
  "luminance": 0.30548
}

Semantic roles & 50–950 ramp

primary
#A487DF
secondary
#E5EDD5
accent
#C5208F
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #A487DF

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

Preview Lab → · Contrast checker → · Palette generator →

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