#A187EB#A187EB

#A187EB is a light, vivid violet. Relative luminance 0.309; OKLCH L 68.9% C 0.145 H 294.2°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#A187EB
RGBrgb(161, 135, 235)
HSLhsl(256, 71%, 73%)
HSVhsv(256, 43%, 92%)
CMYKcmyk(31.5%, 42.6%, 0%, 7.8%)
CIE-LABlab(62.43, 31.44, -47.13)
CIE-LCHlch(62.43, 56.66, 303.71°)
OKLaboklab(68.86% 0.0595 -0.1322)
OKLCHoklch(68.86% 0.145 294.2)
XYZxyz(38.3535, 30.9025, 82.5253)
Luminance0.3090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A187EB #D1EB87
analogous
#879FEB #A187EB #D387EB
triadic
#A187EB #EBA187 #87EBA1
tetradic
#A187EB #EB879F #D1EB87 #87EBD3
square
#A187EB #EB879F #D1EB87 #87EBD3
split-complementary
#A187EB #EBD387 #9FEB87
monochromatic
#5123D4 #7853E2 #A187EB #CABBF4 #EAE5FB

Accessibility & contrast

On white

2.92
#A187EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#A187EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A187EB
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A187EB#FFFFFF#000000##000000
##A187EB1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6898EF
Deuteranopia (green-blind)
#6C95E9
Tritanopia (blue-blind)
#9099AE
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a187eb;
/* rgb */ color: rgb(161, 135, 235);
/* oklch */ color: oklch(68.9% 0.145 294.2);
Tailwind
colors: {
  custom: {
    50: '#bfaaf2',
    500: '#a187eb',
    950: '#000000',
  },
}
SCSS
$custom: #a187eb;
$custom-light: #bfaaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#a187eb",
  "rgb": {
    "r": 161,
    "g": 135,
    "b": 235
  },
  "hsl": {
    "h": 255.6,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.68865,
    "c": 0.14503,
    "h": 294.2
  },
  "luminance": 0.30903
}

Semantic roles & 50–950 ramp

primary
#A187EB
secondary
#ECF2D9
accent
#D312A1
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #A187EB

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

Preview Lab → · Contrast checker → · Palette generator →

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