#A18FFD#A18FFD

#A18FFD is a light, vivid blue. Relative luminance 0.343; OKLCH L 71.3% C 0.157 H 289.3°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#A18FFD
RGBrgb(161, 143, 253)
HSLhsl(250, 96%, 78%)
HSVhsv(250, 43%, 99%)
CMYKcmyk(36.4%, 43.5%, 0%, 0.8%)
CIE-LABlab(65.21, 31.53, -52.63)
CIE-LCHlch(65.21, 61.35, 300.93°)
OKLaboklab(71.26% 0.0519 -0.1483)
OKLCHoklch(71.26% 0.157 289.3)
XYZxyz(42.2452, 34.3127, 97.3067)
Luminance0.3431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18FFD #EBFD8F
analogous
#8FB4FD #A18FFD #D88FFD
triadic
#A18FFD #FDA18F #8FFDA1
tetradic
#A18FFD #FD8FB4 #EBFD8F #8FFDD8
square
#A18FFD #FD8FB4 #EBFD8F #8FFDD8
split-complementary
#A18FFD #FDD88F #B4FD8F
monochromatic
#3C17FB #6F53FC #A18FFD #D3CBFE #E6E1FE

Accessibility & contrast

On white

2.67
#A18FFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#A18FFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A18FFD
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18FFD#FFFFFF#000000##000000
##A18FFD1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#69A1FF
Deuteranopia (green-blind)
#6A9CFA
Tritanopia (blue-blind)
#89A4BA
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a18ffd;
/* rgb */ color: rgb(161, 143, 253);
/* oklch */ color: oklch(71.3% 0.157 289.3);
Tailwind
colors: {
  custom: {
    50: '#c0b0fe',
    500: '#a18ffd',
    950: '#000000',
  },
}
SCSS
$custom: #a18ffd;
$custom-light: #c0b0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#a18ffd",
  "rgb": {
    "r": 161,
    "g": 143,
    "b": 253
  },
  "hsl": {
    "h": 249.818,
    "s": 96.491,
    "l": 77.647
  },
  "oklch": {
    "l": 0.71261,
    "c": 0.15709,
    "h": 289.3
  },
  "luminance": 0.34314
}

Semantic roles & 50–950 ramp

primary
#A18FFD
secondary
#F1F7D4
accent
#E600C0
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A18FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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