#A291CD#A291CD

#A291CD is a light, moderate violet. Relative luminance 0.323; OKLCH L 69.4% C 0.088 H 297.0°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#A291CD
RGBrgb(162, 145, 205)
HSLhsl(257, 38%, 69%)
HSVhsv(257, 29%, 80%)
CMYKcmyk(21%, 29.3%, 0%, 19.6%)
CIE-LABlab(63.62, 18.71, -28.57)
CIE-LCHlch(63.62, 34.15, 303.21°)
OKLaboklab(69.36% 0.0402 -0.0787)
OKLCHoklch(69.36% 0.088 297)
XYZxyz(36.0427, 32.3397, 62.0891)
Luminance0.3234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A291CD #BCCD91
analogous
#919ECD #A291CD #C091CD
triadic
#A291CD #CDA291 #91CDA2
tetradic
#A291CD #CD919E #BCCD91 #91CDC0
square
#A291CD #CD919E #BCCD91 #91CDC0
split-complementary
#A291CD #CDC091 #9ECD91
monochromatic
#5F479C #7E67BA #A291CD #C6BBE0 #E9E5F3

Accessibility & contrast

On white

2.81
#A291CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#A291CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A291CD
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A291CD#FFFFFF#000000##000000
##A291CD1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#839ACF
Deuteranopia (green-blind)
#8699CB
Tritanopia (blue-blind)
#9A9AA6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a291cd;
/* rgb */ color: rgb(162, 145, 205);
/* oklch */ color: oklch(69.4% 0.088 297.0);
Tailwind
colors: {
  custom: {
    50: '#beb1dc',
    500: '#a291cd',
    950: '#000000',
  },
}
SCSS
$custom: #a291cd;
$custom-light: #beb1dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a291cd",
  "rgb": {
    "r": 162,
    "g": 145,
    "b": 205
  },
  "hsl": {
    "h": 257,
    "s": 37.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.69364,
    "c": 0.0884,
    "h": 297
  },
  "luminance": 0.3234
}

Semantic roles & 50–950 ramp

primary
#A291CD
secondary
#E1E6D4
accent
#B0358D
background
#FBFAFD
surface
#F7F5FB
border
#D0CFD4
text
#121015
muted
#817F83

Preview Lab

Preview with #A291CD

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

Preview Lab → · Contrast checker → · Palette generator →

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