#A188F2#A188F2

#A188F2 is a light, vivid violet. Relative luminance 0.316; OKLCH L 69.4% C 0.153 H 292.8°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#A188F2
RGBrgb(161, 136, 242)
HSLhsl(254, 80%, 74%)
HSVhsv(254, 44%, 95%)
CMYKcmyk(33.5%, 43.8%, 0%, 5.1%)
CIE-LABlab(63.01, 32.66, -50.08)
CIE-LCHlch(63.01, 59.79, 303.11°)
OKLaboklab(69.42% 0.0593 -0.1408)
OKLCHoklch(69.42% 0.153 292.8)
XYZxyz(39.5250, 31.5954, 88.0033)
Luminance0.3160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A188F2 #D9F288
analogous
#88A4F2 #A188F2 #D688F2
triadic
#A188F2 #F2A188 #88F2A1
tetradic
#A188F2 #F288A4 #D9F288 #88F2D6
square
#A188F2 #F288A4 #D9F288 #88F2D6
split-complementary
#A188F2 #F2D688 #A4F288
monochromatic
#4A1AE6 #7551EC #A188F2 #CDBFF8 #E9E3FC

Accessibility & contrast

On white

2.87
#A188F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#A188F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A188F2
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A188F2#FFFFFF#000000##000000
##A188F21.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#669AF6
Deuteranopia (green-blind)
#6997EF
Tritanopia (blue-blind)
#8E9CB1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a188f2;
/* rgb */ color: rgb(161, 136, 242);
/* oklch */ color: oklch(69.4% 0.153 292.8);
Tailwind
colors: {
  custom: {
    50: '#c0abf7',
    500: '#a188f2',
    950: '#000000',
  },
}
SCSS
$custom: #a188f2;
$custom-light: #c0abf7;
$custom-dark: #000000;
JSON
{
  "hex": "#a188f2",
  "rgb": {
    "r": 161,
    "g": 136,
    "b": 242
  },
  "hsl": {
    "h": 254.151,
    "s": 80.303,
    "l": 74.118
  },
  "oklch": {
    "l": 0.69417,
    "c": 0.15281,
    "h": 292.8
  },
  "luminance": 0.31596
}

Semantic roles & 50–950 ramp

primary
#A188F2
secondary
#EDF4D7
accent
#DD09AB
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #A188F2

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

Preview Lab → · Contrast checker → · Palette generator →

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