#A18CFD#A18CFD

#A18CFD is a light, vivid violet. Relative luminance 0.334; OKLCH L 70.7% C 0.161 H 290.2°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#A18CFD
RGBrgb(161, 140, 253)
HSLhsl(251, 97%, 77%)
HSVhsv(251, 45%, 99%)
CMYKcmyk(36.4%, 44.7%, 0%, 0.8%)
CIE-LABlab(64.50, 33.24, -53.75)
CIE-LCHlch(64.50, 63.20, 301.73°)
OKLaboklab(70.73% 0.0557 -0.1515)
OKLCHoklch(70.73% 0.161 290.2)
XYZxyz(41.8009, 33.4240, 97.1586)
Luminance0.3342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18CFD #E8FD8C
analogous
#8CB0FD #A18CFD #D98CFD
triadic
#A18CFD #FDA18C #8CFDA1
tetradic
#A18CFD #FD8CB0 #E8FD8C #8CFDD9
square
#A18CFD #FD8CB0 #E8FD8C #8CFDD9
split-complementary
#A18CFD #FDD98C #B0FD8C
monochromatic
#3F14FB #7050FC #A18CFD #D2C8FE #E6E1FE

Accessibility & contrast

On white

2.73
#A18CFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#A18CFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A18CFD
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18CFD#FFFFFF#000000##000000
##A18CFD1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#659FFF
Deuteranopia (green-blind)
#669AFA
Tritanopia (blue-blind)
#89A2B8
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a18cfd;
/* rgb */ color: rgb(161, 140, 253);
/* oklch */ color: oklch(70.7% 0.161 290.2);
Tailwind
colors: {
  custom: {
    50: '#c0aefe',
    500: '#a18cfd',
    950: '#000000',
  },
}
SCSS
$custom: #a18cfd;
$custom-light: #c0aefe;
$custom-dark: #000000;
JSON
{
  "hex": "#a18cfd",
  "rgb": {
    "r": 161,
    "g": 140,
    "b": 253
  },
  "hsl": {
    "h": 251.15,
    "s": 96.581,
    "l": 77.059
  },
  "oklch": {
    "l": 0.70727,
    "c": 0.16146,
    "h": 290.2
  },
  "luminance": 0.33425
}

Semantic roles & 50–950 ramp

primary
#A18CFD
secondary
#F0F7D4
accent
#E600BB
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A18CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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