#A188F6#A188F6

#A188F6 is a light, vivid violet. Relative luminance 0.318; OKLCH L 69.6% C 0.158 H 292.2°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#A188F6
RGBrgb(161, 136, 246)
HSLhsl(254, 86%, 75%)
HSVhsv(254, 45%, 96%)
CMYKcmyk(34.6%, 44.7%, 0%, 3.5%)
CIE-LABlab(63.21, 33.69, -51.96)
CIE-LCHlch(63.21, 61.93, 302.96°)
OKLaboklab(69.64% 0.0599 -0.1463)
OKLCHoklch(69.64% 0.158 292.2)
XYZxyz(40.1323, 31.8383, 91.2019)
Luminance0.3184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A188F6 #DDF688
analogous
#88A6F6 #A188F6 #D888F6
triadic
#A188F6 #F6A188 #88F6A1
tetradic
#A188F6 #F688A6 #DDF688 #88F6D8
square
#A188F6 #F688A6 #DDF688 #88F6D8
split-complementary
#A188F6 #F6D888 #A6F688
monochromatic
#4716ED #744FF2 #A188F6 #CEC1FA #E9E3FD

Accessibility & contrast

On white

2.85
#A188F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#A188F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A188F6
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A188F6#FFFFFF#000000##000000
##A188F61.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#639BFA
Deuteranopia (green-blind)
#6697F3
Tritanopia (blue-blind)
#8C9DB3
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #a188f6;
/* rgb */ color: rgb(161, 136, 246);
/* oklch */ color: oklch(69.6% 0.158 292.2);
Tailwind
colors: {
  custom: {
    50: '#c0abf9',
    500: '#a188f6',
    950: '#000000',
  },
}
SCSS
$custom: #a188f6;
$custom-light: #c0abf9;
$custom-dark: #000000;
JSON
{
  "hex": "#a188f6",
  "rgb": {
    "r": 161,
    "g": 136,
    "b": 246
  },
  "hsl": {
    "h": 253.636,
    "s": 85.938,
    "l": 74.902
  },
  "oklch": {
    "l": 0.69635,
    "c": 0.15809,
    "h": 292.2
  },
  "luminance": 0.31839
}

Semantic roles & 50–950 ramp

primary
#A188F6
secondary
#EEF5D6
accent
#E203B0
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A188F6

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

Preview Lab → · Contrast checker → · Palette generator →

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