#A291DC#A291DC

#A291DC is a light, moderate violet. Relative luminance 0.331; OKLCH L 70.0% C 0.109 H 293.8°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#A291DC
RGBrgb(162, 145, 220)
HSLhsl(254, 52%, 72%)
HSVhsv(254, 34%, 86%)
CMYKcmyk(26.4%, 34.1%, 0%, 13.7%)
CIE-LABlab(64.24, 22.28, -35.97)
CIE-LCHlch(64.24, 42.31, 301.78°)
OKLaboklab(70.04% 0.0441 -0.0999)
OKLCHoklch(70.04% 0.109 293.8)
XYZxyz(37.9408, 33.0990, 72.0861)
Luminance0.3310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A291DC #CBDC91
analogous
#91A6DC #A291DC #C891DC
triadic
#A291DC #DCA291 #91DCA2
tetradic
#A291DC #DC91A6 #CBDC91 #91DCC8
square
#A291DC #DC91A6 #CBDC91 #91DCC8
split-complementary
#A291DC #DCC891 #A6DC91
monochromatic
#573BB8 #7B63CD #A291DC #C9BFEB #EBE8F8

Accessibility & contrast

On white

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

On black

7.62
#A291DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A291DC
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A291DC#FFFFFF#000000##000000
##A291DC1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9DDF
Deuteranopia (green-blind)
#7F9BDA
Tritanopia (blue-blind)
#969EAC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a291dc;
/* rgb */ color: rgb(162, 145, 220);
/* oklch */ color: oklch(70.0% 0.109 293.8);
Tailwind
colors: {
  custom: {
    50: '#bfb1e7',
    500: '#a291dc',
    950: '#000000',
  },
}
SCSS
$custom: #a291dc;
$custom-light: #bfb1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a291dc",
  "rgb": {
    "r": 162,
    "g": 145,
    "b": 220
  },
  "hsl": {
    "h": 253.6,
    "s": 51.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.70042,
    "c": 0.10919,
    "h": 293.8
  },
  "luminance": 0.33099
}

Semantic roles & 50–950 ramp

primary
#A291DC
secondary
#EAEEDB
accent
#BF269C
background
#FBFAFE
surface
#F7F5FC
border
#D0CFD5
text
#121016
muted
#817F84

Preview Lab

Preview with #A291DC

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

Preview Lab → · Contrast checker → · Palette generator →

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