#A891F0#A891F0

#A891F0 is a light, vivid violet. Relative luminance 0.349; OKLCH L 71.5% C 0.137 H 293.8°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#A891F0
RGBrgb(168, 145, 240)
HSLhsl(255, 76%, 75%)
HSVhsv(255, 40%, 94%)
CMYKcmyk(30%, 39.6%, 0%, 5.9%)
CIE-LABlab(65.64, 28.92, -44.78)
CIE-LCHlch(65.64, 53.30, 302.85°)
OKLaboklab(71.53% 0.0552 -0.1252)
OKLCHoklch(71.53% 0.137 293.8)
XYZxyz(41.9981, 34.8662, 86.9383)
Luminance0.3487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A891F0 #D9F091
analogous
#91A9F0 #A891F0 #D791F0
triadic
#A891F0 #F0A891 #91F0A8
tetradic
#A891F0 #F091A9 #D9F091 #91F0D7
square
#A891F0 #F091A9 #D9F091 #91F0D7
split-complementary
#A891F0 #F0D791 #A9F091
monochromatic
#5325E1 #7D5BE9 #A891F0 #D3C7F7 #EAE4FB

Accessibility & contrast

On white

2.63
#A891F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#A891F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A891F0
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A891F0#FFFFFF#000000##000000
##A891F01.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A0F4
Deuteranopia (green-blind)
#789EEE
Tritanopia (blue-blind)
#98A2B5
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a891f0;
/* rgb */ color: rgb(168, 145, 240);
/* oklch */ color: oklch(71.5% 0.137 293.8);
Tailwind
colors: {
  custom: {
    50: '#c4b1f5',
    500: '#a891f0',
    950: '#000000',
  },
}
SCSS
$custom: #a891f0;
$custom-light: #c4b1f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a891f0",
  "rgb": {
    "r": 168,
    "g": 145,
    "b": 240
  },
  "hsl": {
    "h": 254.526,
    "s": 76,
    "l": 75.49
  },
  "oklch": {
    "l": 0.71528,
    "c": 0.13687,
    "h": 293.8
  },
  "luminance": 0.34867
}

Semantic roles & 50–950 ramp

primary
#A891F0
secondary
#ECF3D8
accent
#D80DA7
background
#FCFAFF
surface
#F8F5FE
border
#D1CFD6
text
#131017
muted
#827F85

Preview Lab

Preview with #A891F0

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

Preview Lab → · Contrast checker → · Palette generator →

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