#A188EC#A188EC

#A188EC is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.1% C 0.145 H 293.8°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#A188EC
RGBrgb(161, 136, 236)
HSLhsl(255, 72%, 73%)
HSVhsv(255, 42%, 93%)
CMYKcmyk(31.8%, 42.4%, 0%, 7.5%)
CIE-LABlab(62.71, 31.13, -47.24)
CIE-LCHlch(62.71, 56.57, 303.38°)
OKLaboklab(69.1% 0.0584 -0.1325)
OKLCHoklch(69.1% 0.145 293.8)
XYZxyz(38.6386, 31.2408, 83.3350)
Luminance0.3124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A188EC #D3EC88
analogous
#88A1EC #A188EC #D388EC
triadic
#A188EC #ECA188 #88ECA1
tetradic
#A188EC #EC88A1 #D3EC88 #88ECD3
square
#A188EC #EC88A1 #D3EC88 #88ECD3
split-complementary
#A188EC #ECD388 #A1EC88
monochromatic
#5022D7 #7753E4 #A188EC #CBBDF4 #EAE5FB

Accessibility & contrast

On white

2.90
#A188EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#A188EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A188EC
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A188EC#FFFFFF#000000##000000
##A188EC1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6999F0
Deuteranopia (green-blind)
#6D96EA
Tritanopia (blue-blind)
#909AAF
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a188ec;
/* rgb */ color: rgb(161, 136, 236);
/* oklch */ color: oklch(69.1% 0.145 293.8);
Tailwind
colors: {
  custom: {
    50: '#bfabf2',
    500: '#a188ec',
    950: '#000000',
  },
}
SCSS
$custom: #a188ec;
$custom-light: #bfabf2;
$custom-dark: #000000;
JSON
{
  "hex": "#a188ec",
  "rgb": {
    "r": 161,
    "g": 136,
    "b": 236
  },
  "hsl": {
    "h": 255,
    "s": 72.464,
    "l": 72.941
  },
  "oklch": {
    "l": 0.69096,
    "c": 0.14483,
    "h": 293.8
  },
  "luminance": 0.31242
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A188EC

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

Preview Lab → · Contrast checker → · Palette generator →

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