#AA50DB#AA50DB

#AA50DB is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.5% C 0.211 H 311.5°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#AA50DB
RGBrgb(170, 80, 219)
HSLhsl(279, 66%, 59%)
HSVhsv(279, 63%, 86%)
CMYKcmyk(22.4%, 63.5%, 0%, 14.1%)
CIE-LABlab(51.15, 59.23, -56.05)
CIE-LCHlch(51.15, 81.55, 316.58°)
OKLaboklab(60.46% 0.1398 -0.1579)
OKLCHoklch(60.46% 0.211 311.5)
XYZxyz(32.2301, 19.3986, 69.0506)
Luminance0.1940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA50DB #81DB50
analogous
#6450DB #AA50DB #DB50C6
triadic
#AA50DB #DBAA50 #50DBAA
tetradic
#AA50DB #DB6450 #81DB50 #50C6DB
square
#AA50DB #DB6450 #81DB50 #50C6DB
split-complementary
#AA50DB #C6DB50 #50DB64
monochromatic
#691E92 #8E29C5 #AA50DB #C383E5 #DBB6F0

Accessibility & contrast

On white

4.30
#AA50DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#AA50DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA50DB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA50DB#FFFFFF#000000##000000
##AA50DB1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0275DF
Deuteranopia (green-blind)
#427CD8
Tritanopia (blue-blind)
#A46B8F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #aa50db;
/* rgb */ color: rgb(170, 80, 219);
/* oklch */ color: oklch(60.5% 0.211 311.5);
Tailwind
colors: {
  custom: {
    50: '#c786e7',
    500: '#aa50db',
    950: '#000000',
  },
}
SCSS
$custom: #aa50db;
$custom-light: #c786e7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa50db",
  "rgb": {
    "r": 170,
    "g": 80,
    "b": 219
  },
  "hsl": {
    "h": 278.849,
    "s": 65.877,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60455,
    "c": 0.21092,
    "h": 311.5
  },
  "luminance": 0.19398
}

Semantic roles & 50–950 ramp

primary
#AA50DB
secondary
#BBDFA8
accent
#E93F7B
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA50DB

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

Preview Lab → · Contrast checker → · Palette generator →

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