#A18DFB#A18DFB

#A18DFB is a light, vivid violet. Relative luminance 0.336; OKLCH L 70.8% C 0.157 H 290.1°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#A18DFB
RGBrgb(161, 141, 251)
HSLhsl(251, 93%, 77%)
HSVhsv(251, 44%, 98%)
CMYKcmyk(35.9%, 43.8%, 0%, 1.6%)
CIE-LABlab(64.64, 32.15, -52.44)
CIE-LCHlch(64.64, 61.51, 301.51°)
OKLaboklab(70.8% 0.0542 -0.1477)
OKLCHoklch(70.8% 0.157 290.1)
XYZxyz(41.6307, 33.5908, 95.5383)
Luminance0.3359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18DFB #E7FB8D
analogous
#8DB0FB #A18DFB #D88DFB
triadic
#A18DFB #FBA18D #8DFBA1
tetradic
#A18DFB #FB8DB0 #E7FB8D #8DFBD8
square
#A18DFB #FB8DB0 #E7FB8D #8DFBD8
split-complementary
#A18DFB #FBD88D #B0FB8D
monochromatic
#3F17F7 #7052F9 #A18DFB #D2C8FD #E7E1FE

Accessibility & contrast

On white

2.72
#A18DFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#A18DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A18DFB
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18DFB#FFFFFF#000000##000000
##A18DFB1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#679FFF
Deuteranopia (green-blind)
#699AF8
Tritanopia (blue-blind)
#8AA2B8
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a18dfb;
/* rgb */ color: rgb(161, 141, 251);
/* oklch */ color: oklch(70.8% 0.157 290.1);
Tailwind
colors: {
  custom: {
    50: '#c0aefd',
    500: '#a18dfb',
    950: '#000000',
  },
}
SCSS
$custom: #a18dfb;
$custom-light: #c0aefd;
$custom-dark: #000000;
JSON
{
  "hex": "#a18dfb",
  "rgb": {
    "r": 161,
    "g": 141,
    "b": 251
  },
  "hsl": {
    "h": 250.909,
    "s": 93.22,
    "l": 76.863
  },
  "oklch": {
    "l": 0.70795,
    "c": 0.15734,
    "h": 290.1
  },
  "luminance": 0.33592
}

Semantic roles & 50–950 ramp

primary
#A18DFB
secondary
#F0F6D5
accent
#E600BC
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A18DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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