#A387DB#A387DB

#A387DB is a light, vivid violet. Relative luminance 0.302; OKLCH L 68.2% C 0.124 H 298.4°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#A387DB
RGBrgb(163, 135, 219)
HSLhsl(260, 54%, 69%)
HSVhsv(260, 38%, 86%)
CMYKcmyk(25.6%, 38.4%, 0%, 14.1%)
CIE-LABlab(61.85, 28.04, -39.14)
CIE-LCHlch(61.85, 48.14, 305.62°)
OKLaboklab(68.23% 0.059 -0.109)
OKLCHoklch(68.23% 0.124 298.4)
XYZxyz(36.5515, 30.2287, 70.9131)
Luminance0.3023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A387DB #BFDB87
analogous
#8795DB #A387DB #CD87DB
triadic
#A387DB #DBA387 #87DBA3
tetradic
#A387DB #DB8795 #BFDB87 #87DBCD
square
#A387DB #DB8795 #BFDB87 #87DBCD
split-complementary
#A387DB #DBCD87 #95DB87
monochromatic
#5F35B2 #7F58CD #A387DB #C7B6E9 #EBE5F7

Accessibility & contrast

On white

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

On black

7.05
#A387DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A387DB
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A387DB#FFFFFF#000000##000000
##A387DB1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7195DE
Deuteranopia (green-blind)
#7695D9
Tritanopia (blue-blind)
#9895A7
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a387db;
/* rgb */ color: rgb(163, 135, 219);
/* oklch */ color: oklch(68.2% 0.124 298.4);
Tailwind
colors: {
  custom: {
    50: '#c0aae6',
    500: '#a387db',
    950: '#000000',
  },
}
SCSS
$custom: #a387db;
$custom-light: #c0aae6;
$custom-dark: #000000;
JSON
{
  "hex": "#a387db",
  "rgb": {
    "r": 163,
    "g": 135,
    "b": 219
  },
  "hsl": {
    "h": 260,
    "s": 53.846,
    "l": 69.412
  },
  "oklch": {
    "l": 0.68226,
    "c": 0.12392,
    "h": 298.4
  },
  "luminance": 0.30229
}

Semantic roles & 50–950 ramp

primary
#A387DB
secondary
#E3EBD3
accent
#C1248D
background
#FBFAFE
surface
#F7F4FC
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #A387DB

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

Preview Lab → · Contrast checker → · Palette generator →

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