#A188EF#A188EF

#A188EF is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.3% C 0.149 H 293.3°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#A188EF
RGBrgb(161, 136, 239)
HSLhsl(255, 76%, 74%)
HSVhsv(255, 43%, 94%)
CMYKcmyk(32.6%, 43.1%, 0%, 6.3%)
CIE-LABlab(62.86, 31.89, -48.66)
CIE-LCHlch(62.86, 58.18, 303.24°)
OKLaboklab(69.26% 0.0588 -0.1367)
OKLCHoklch(69.26% 0.149 293.3)
XYZxyz(39.0781, 31.4166, 85.6498)
Luminance0.3142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A188EF #D6EF88
analogous
#88A2EF #A188EF #D488EF
triadic
#A188EF #EFA188 #88EFA1
tetradic
#A188EF #EF88A2 #D6EF88 #88EFD4
square
#A188EF #EF88A2 #D6EF88 #88EFD4
split-complementary
#A188EF #EFD488 #A2EF88
monochromatic
#4D1EDF #7652E8 #A188EF #CCBEF6 #EAE4FB

Accessibility & contrast

On white

2.88
#A188EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#A188EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A188EF
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A188EF#FFFFFF#000000##000000
##A188EF1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6799F3
Deuteranopia (green-blind)
#6B96EC
Tritanopia (blue-blind)
#8F9BB0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a188ef;
/* rgb */ color: rgb(161, 136, 239);
/* oklch */ color: oklch(69.3% 0.149 293.3);
Tailwind
colors: {
  custom: {
    50: '#bfabf5',
    500: '#a188ef',
    950: '#000000',
  },
}
SCSS
$custom: #a188ef;
$custom-light: #bfabf5;
$custom-dark: #000000;
JSON
{
  "hex": "#a188ef",
  "rgb": {
    "r": 161,
    "g": 136,
    "b": 239
  },
  "hsl": {
    "h": 254.563,
    "s": 76.296,
    "l": 73.529
  },
  "oklch": {
    "l": 0.69256,
    "c": 0.14883,
    "h": 293.3
  },
  "luminance": 0.31417
}

Semantic roles & 50–950 ramp

primary
#A188EF
secondary
#EDF3D8
accent
#D80DA7
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #A188EF

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

Preview Lab → · Contrast checker → · Palette generator →

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