#A18CF6#A18CF6

#A18CF6 is a light, vivid violet. Relative luminance 0.330; OKLCH L 70.3% C 0.152 H 291.1°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#A18CF6
RGBrgb(161, 140, 246)
HSLhsl(252, 85%, 76%)
HSVhsv(252, 43%, 96%)
CMYKcmyk(34.6%, 43.1%, 0%, 3.5%)
CIE-LABlab(64.15, 31.41, -50.47)
CIE-LCHlch(64.15, 59.45, 301.90°)
OKLaboklab(70.35% 0.0547 -0.142)
OKLCHoklch(70.35% 0.152 291.1)
XYZxyz(40.7062, 32.9861, 91.3932)
Luminance0.3299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18CF6 #E1F68C
analogous
#8CACF6 #A18CF6 #D68CF6
triadic
#A18CF6 #F6A18C #8CF6A1
tetradic
#A18CF6 #F68CAC #E1F68C #8CF6D6
square
#A18CF6 #F68CAC #E1F68C #8CF6D6
split-complementary
#A18CF6 #F6D68C #ACF68C
monochromatic
#441AED #7353F2 #A18CF6 #CFC5FA #E8E3FD

Accessibility & contrast

On white

2.76
#A18CF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#A18CF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A18CF6
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18CF6#FFFFFF#000000##000000
##A18CF61.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#699DFA
Deuteranopia (green-blind)
#6B99F3
Tritanopia (blue-blind)
#8CA0B5
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a18cf6;
/* rgb */ color: rgb(161, 140, 246);
/* oklch */ color: oklch(70.3% 0.152 291.1);
Tailwind
colors: {
  custom: {
    50: '#c0aef9',
    500: '#a18cf6',
    950: '#000000',
  },
}
SCSS
$custom: #a18cf6;
$custom-light: #c0aef9;
$custom-dark: #000000;
JSON
{
  "hex": "#a18cf6",
  "rgb": {
    "r": 161,
    "g": 140,
    "b": 246
  },
  "hsl": {
    "h": 251.887,
    "s": 85.484,
    "l": 75.686
  },
  "oklch": {
    "l": 0.70346,
    "c": 0.15215,
    "h": 291.1
  },
  "luminance": 0.32987
}

Semantic roles & 50–950 ramp

primary
#A18CF6
secondary
#EFF5D6
accent
#E204B6
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #A18CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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