#A291DB#A291DB

#A291DB is a light, moderate violet. Relative luminance 0.330; OKLCH L 70.0% C 0.108 H 294.0°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#A291DB
RGBrgb(162, 145, 219)
HSLhsl(254, 51%, 71%)
HSVhsv(254, 34%, 86%)
CMYKcmyk(26%, 33.8%, 0%, 14.1%)
CIE-LABlab(64.20, 22.04, -35.48)
CIE-LCHlch(64.20, 41.77, 301.85°)
OKLaboklab(69.99% 0.0438 -0.0985)
OKLCHoklch(69.99% 0.108 294)
XYZxyz(37.8088, 33.0462, 71.3907)
Luminance0.3305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A291DB #CADB91
analogous
#91A5DB #A291DB #C791DB
triadic
#A291DB #DBA291 #91DBA2
tetradic
#A291DB #DB91A5 #CADB91 #91DBC7
square
#A291DB #DB91A5 #CADB91 #91DBC7
split-complementary
#A291DB #DBC791 #A5DB91
monochromatic
#583CB6 #7B63CC #A291DB #C9BFEA #ECE8F7

Accessibility & contrast

On white

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

On black

7.61
#A291DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A291DB
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A291DB#FFFFFF#000000##000000
##A291DB1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E9CDE
Deuteranopia (green-blind)
#809AD9
Tritanopia (blue-blind)
#969EAC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a291db;
/* rgb */ color: rgb(162, 145, 219);
/* oklch */ color: oklch(70.0% 0.108 294.0);
Tailwind
colors: {
  custom: {
    50: '#bfb1e6',
    500: '#a291db',
    950: '#000000',
  },
}
SCSS
$custom: #a291db;
$custom-light: #bfb1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#a291db",
  "rgb": {
    "r": 162,
    "g": 145,
    "b": 219
  },
  "hsl": {
    "h": 253.784,
    "s": 50.685,
    "l": 71.373
  },
  "oklch": {
    "l": 0.69995,
    "c": 0.10781,
    "h": 294
  },
  "luminance": 0.33047
}

Semantic roles & 50–950 ramp

primary
#A291DB
secondary
#E9EEDA
accent
#BE279B
background
#FBFAFE
surface
#F7F5FC
border
#D0CFD5
text
#121016
muted
#817F84

Preview Lab

Preview with #A291DB

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

Preview Lab → · Contrast checker → · Palette generator →

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