#A18CF7#A18CF7

#A18CF7 is a light, vivid violet. Relative luminance 0.330; OKLCH L 70.4% C 0.153 H 290.9°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#A18CF7
RGBrgb(161, 140, 247)
HSLhsl(252, 87%, 76%)
HSVhsv(252, 43%, 97%)
CMYKcmyk(34.8%, 43.3%, 0%, 3.1%)
CIE-LABlab(64.20, 31.67, -50.94)
CIE-LCHlch(64.20, 59.99, 301.87°)
OKLaboklab(70.4% 0.0549 -0.1433)
OKLCHoklch(70.4% 0.153 290.9)
XYZxyz(40.8601, 33.0477, 92.2037)
Luminance0.3305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18CF7 #E2F78C
analogous
#8CACF7 #A18CF7 #D68CF7
triadic
#A18CF7 #F7A18C #8CF7A1
tetradic
#A18CF7 #F78CAC #E2F78C #8CF7D6
square
#A18CF7 #F78CAC #E2F78C #8CF7D6
split-complementary
#A18CF7 #F7D68C #ACF78C
monochromatic
#431AEF #7253F3 #A18CF7 #D0C5FB #E8E2FD

Accessibility & contrast

On white

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

On black

7.61
#A18CF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A18CF7
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18CF7#FFFFFF#000000##000000
##A18CF71.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#689DFB
Deuteranopia (green-blind)
#6A99F4
Tritanopia (blue-blind)
#8CA0B6
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a18cf7;
/* rgb */ color: rgb(161, 140, 247);
/* oklch */ color: oklch(70.4% 0.153 290.9);
Tailwind
colors: {
  custom: {
    50: '#c0aefa',
    500: '#a18cf7',
    950: '#000000',
  },
}
SCSS
$custom: #a18cf7;
$custom-light: #c0aefa;
$custom-dark: #000000;
JSON
{
  "hex": "#a18cf7",
  "rgb": {
    "r": 161,
    "g": 140,
    "b": 247
  },
  "hsl": {
    "h": 251.776,
    "s": 86.992,
    "l": 75.882
  },
  "oklch": {
    "l": 0.70399,
    "c": 0.15348,
    "h": 290.9
  },
  "luminance": 0.33049
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A18CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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