#AA6BDB#AA6BDB

#AA6BDB is a light, vivid violet. Relative luminance 0.242; OKLCH L 64.2% C 0.171 H 308.3°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#AA6BDB
RGBrgb(170, 107, 219)
HSLhsl(274, 61%, 64%)
HSVhsv(274, 51%, 86%)
CMYKcmyk(22.4%, 51.1%, 0%, 14.1%)
CIE-LABlab(56.26, 45.59, -47.90)
CIE-LCHlch(56.26, 66.13, 313.59°)
OKLaboklab(64.2% 0.106 -0.1342)
OKLCHoklch(64.2% 0.171 308.3)
XYZxyz(34.6189, 24.1764, 69.8469)
Luminance0.2418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6BDB #9CDB6B
analogous
#726BDB #AA6BDB #DB6BD4
triadic
#AA6BDB #DBAA6B #6BDBAA
tetradic
#AA6BDB #DB726B #9CDB6B #6BD4DB
square
#AA6BDB #DB726B #9CDB6B #6BD4DB
split-complementary
#AA6BDB #D4DB6B #6BDB72
monochromatic
#6E28A4 #8E3ACF #AA6BDB #C69CE7 #E3CDF3

Accessibility & contrast

On white

3.60
#AA6BDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#AA6BDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6BDB
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6BDB#FFFFFF#000000##000000
##AA6BDB1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B84DF
Deuteranopia (green-blind)
#5E88D8
Tritanopia (blue-blind)
#A37E99
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #aa6bdb;
/* rgb */ color: rgb(170, 107, 219);
/* oklch */ color: oklch(64.2% 0.171 308.3);
Tailwind
colors: {
  custom: {
    50: '#c697e7',
    500: '#aa6bdb',
    950: '#000000',
  },
}
SCSS
$custom: #aa6bdb;
$custom-light: #c697e7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6bdb",
  "rgb": {
    "r": 170,
    "g": 107,
    "b": 219
  },
  "hsl": {
    "h": 273.75,
    "s": 60.87,
    "l": 63.922
  },
  "oklch": {
    "l": 0.64196,
    "c": 0.17097,
    "h": 308.3
  },
  "luminance": 0.24176
}

Semantic roles & 50–950 ramp

primary
#AA6BDB
secondary
#CEE5BD
accent
#C91D68
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AA6BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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