#A188F7#A188F7

#A188F7 is a light, vivid violet. Relative luminance 0.319; OKLCH L 69.7% C 0.159 H 292.1°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#A188F7
RGBrgb(161, 136, 247)
HSLhsl(254, 87%, 75%)
HSVhsv(254, 45%, 97%)
CMYKcmyk(34.8%, 44.9%, 0%, 3.1%)
CIE-LABlab(63.26, 33.95, -52.43)
CIE-LCHlch(63.26, 62.46, 302.92°)
OKLaboklab(69.69% 0.06 -0.1477)
OKLCHoklch(69.69% 0.159 292.1)
XYZxyz(40.2862, 31.8999, 92.0124)
Luminance0.3190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A188F7 #DEF788
analogous
#88A6F7 #A188F7 #D988F7
triadic
#A188F7 #F7A188 #88F7A1
tetradic
#A188F7 #F788A6 #DEF788 #88F7D9
square
#A188F7 #F788A6 #DEF788 #88F7D9
split-complementary
#A188F7 #F7D988 #A6F788
monochromatic
#4615EF #744FF3 #A188F7 #CEC1FB #E8E2FD

Accessibility & contrast

On white

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

On black

7.38
#A188F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A188F7
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A188F7#FFFFFF#000000##000000
##A188F71.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#629BFB
Deuteranopia (green-blind)
#6597F4
Tritanopia (blue-blind)
#8C9DB4
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #a188f7;
/* rgb */ color: rgb(161, 136, 247);
/* oklch */ color: oklch(69.7% 0.159 292.1);
Tailwind
colors: {
  custom: {
    50: '#c0abfa',
    500: '#a188f7',
    950: '#000000',
  },
}
SCSS
$custom: #a188f7;
$custom-light: #c0abfa;
$custom-dark: #000000;
JSON
{
  "hex": "#a188f7",
  "rgb": {
    "r": 161,
    "g": 136,
    "b": 247
  },
  "hsl": {
    "h": 253.514,
    "s": 87.402,
    "l": 75.098
  },
  "oklch": {
    "l": 0.6969,
    "c": 0.15941,
    "h": 292.1
  },
  "luminance": 0.31901
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A188F7

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

Preview Lab → · Contrast checker → · Palette generator →

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