#A087EC#A087EC

#A087EC is a light, vivid violet. Relative luminance 0.309; OKLCH L 68.8% C 0.146 H 293.6°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#A087EC
RGBrgb(160, 135, 236)
HSLhsl(255, 73%, 73%)
HSVhsv(255, 43%, 93%)
CMYKcmyk(32.2%, 42.8%, 0%, 7.5%)
CIE-LABlab(62.39, 31.43, -47.75)
CIE-LCHlch(62.39, 57.17, 303.35°)
OKLaboklab(68.83% 0.0585 -0.1341)
OKLCHoklch(68.83% 0.146 293.6)
XYZxyz(38.2977, 30.8570, 83.2789)
Luminance0.3086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A087EC #D3EC87
analogous
#87A1EC #A087EC #D287EC
triadic
#A087EC #ECA087 #87ECA0
tetradic
#A087EC #EC87A1 #D3EC87 #87ECD2
square
#A087EC #EC87A1 #D3EC87 #87ECD2
split-complementary
#A087EC #ECD287 #A1EC87
monochromatic
#4F22D7 #7652E4 #A087EC #CABCF4 #EAE5FB

Accessibility & contrast

On white

2.93
#A087EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#A087EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A087EC
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A087EC#FFFFFF#000000##000000
##A087EC1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6798F0
Deuteranopia (green-blind)
#6B95EA
Tritanopia (blue-blind)
#8F9AAE
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a087ec;
/* rgb */ color: rgb(160, 135, 236);
/* oklch */ color: oklch(68.8% 0.146 293.6);
Tailwind
colors: {
  custom: {
    50: '#bfaaf2',
    500: '#a087ec',
    950: '#000000',
  },
}
SCSS
$custom: #a087ec;
$custom-light: #bfaaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#a087ec",
  "rgb": {
    "r": 160,
    "g": 135,
    "b": 236
  },
  "hsl": {
    "h": 254.851,
    "s": 72.662,
    "l": 72.745
  },
  "oklch": {
    "l": 0.68831,
    "c": 0.14629,
    "h": 293.6
  },
  "luminance": 0.30858
}

Semantic roles & 50–950 ramp

primary
#A087EC
secondary
#ECF2D9
accent
#D511A4
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #A087EC

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

Preview Lab → · Contrast checker → · Palette generator →

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