#A188EA#A188EA

#A188EA is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.0% C 0.142 H 294.1°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#A188EA
RGBrgb(161, 136, 234)
HSLhsl(255, 70%, 73%)
HSVhsv(255, 42%, 92%)
CMYKcmyk(31.2%, 41.9%, 0%, 8.2%)
CIE-LABlab(62.61, 30.62, -46.28)
CIE-LCHlch(62.61, 55.49, 303.49°)
OKLaboklab(68.99% 0.058 -0.1298)
OKLCHoklch(68.99% 0.142 294.1)
XYZxyz(38.3497, 31.1253, 81.8133)
Luminance0.3113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A188EA #D1EA88
analogous
#88A0EA #A188EA #D288EA
triadic
#A188EA #EAA188 #88EAA1
tetradic
#A188EA #EA88A0 #D1EA88 #88EAD2
square
#A188EA #EA88A0 #D1EA88 #88EAD2
split-complementary
#A188EA #EAD288 #A0EA88
monochromatic
#5125D2 #7854E1 #A188EA #CABCF3 #EAE5FA

Accessibility & contrast

On white

2.91
#A188EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#A188EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A188EA
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A188EA#FFFFFF#000000##000000
##A188EA1.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A98EE
Deuteranopia (green-blind)
#6E96E8
Tritanopia (blue-blind)
#919AAE
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a188ea;
/* rgb */ color: rgb(161, 136, 234);
/* oklch */ color: oklch(69.0% 0.142 294.1);
Tailwind
colors: {
  custom: {
    50: '#bfabf1',
    500: '#a188ea',
    950: '#000000',
  },
}
SCSS
$custom: #a188ea;
$custom-light: #bfabf1;
$custom-dark: #000000;
JSON
{
  "hex": "#a188ea",
  "rgb": {
    "r": 161,
    "g": 136,
    "b": 234
  },
  "hsl": {
    "h": 255.306,
    "s": 70,
    "l": 72.549
  },
  "oklch": {
    "l": 0.68991,
    "c": 0.14217,
    "h": 294.1
  },
  "luminance": 0.31126
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A188EA

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

Preview Lab → · Contrast checker → · Palette generator →

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