#A188F3#A188F3

#A188F3 is a light, vivid violet. Relative luminance 0.317; OKLCH L 69.5% C 0.154 H 292.7°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#A188F3
RGBrgb(161, 136, 243)
HSLhsl(254, 82%, 74%)
HSVhsv(254, 44%, 95%)
CMYKcmyk(33.7%, 44%, 0%, 4.7%)
CIE-LABlab(63.06, 32.91, -50.55)
CIE-LCHlch(63.06, 60.32, 303.07°)
OKLaboklab(69.47% 0.0594 -0.1422)
OKLCHoklch(69.47% 0.154 292.7)
XYZxyz(39.6756, 31.6556, 88.7964)
Luminance0.3166 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A188F3 #DAF388
analogous
#88A5F3 #A188F3 #D788F3
triadic
#A188F3 #F3A188 #88F3A1
tetradic
#A188F3 #F388A5 #DAF388 #88F3D7
square
#A188F3 #F388A5 #DAF388 #88F3D7
split-complementary
#A188F3 #F3D788 #A5F388
monochromatic
#4919E8 #7550ED #A188F3 #CDC0F9 #E9E3FC

Accessibility & contrast

On white

2.86
#A188F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#A188F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A188F3
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A188F3#FFFFFF#000000##000000
##A188F31.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#659AF7
Deuteranopia (green-blind)
#6897F0
Tritanopia (blue-blind)
#8D9CB2
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #a188f3;
/* rgb */ color: rgb(161, 136, 243);
/* oklch */ color: oklch(69.5% 0.154 292.7);
Tailwind
colors: {
  custom: {
    50: '#c0abf7',
    500: '#a188f3',
    950: '#000000',
  },
}
SCSS
$custom: #a188f3;
$custom-light: #c0abf7;
$custom-dark: #000000;
JSON
{
  "hex": "#a188f3",
  "rgb": {
    "r": 161,
    "g": 136,
    "b": 243
  },
  "hsl": {
    "h": 254.019,
    "s": 81.679,
    "l": 74.314
  },
  "oklch": {
    "l": 0.69471,
    "c": 0.15413,
    "h": 292.7
  },
  "luminance": 0.31656
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A188F3

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

Preview Lab → · Contrast checker → · Palette generator →

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