#AA3BE2#AA3BE2

#AA3BE2 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.7% C 0.243 H 311.4°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#AA3BE2
RGBrgb(170, 59, 226)
HSLhsl(280, 74%, 56%)
HSVhsv(280, 74%, 89%)
CMYKcmyk(24.8%, 73.9%, 0%, 11.4%)
CIE-LABlab(48.47, 69.47, -64.35)
CIE-LCHlch(48.47, 94.69, 317.19°)
OKLaboklab(58.68% 0.1606 -0.1822)
OKLCHoklch(58.68% 0.243 311.4)
XYZxyz(31.8664, 17.1658, 73.5714)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA3BE2 #73E23B
analogous
#563BE2 #AA3BE2 #E23BC7
triadic
#AA3BE2 #E2AA3B #3BE2AA
tetradic
#AA3BE2 #E2563B #73E23B #3BC7E2
square
#AA3BE2 #E2563B #73E23B #3BC7E2
split-complementary
#AA3BE2 #C7E23B #3BE256
monochromatic
#65158E #8B1DC3 #AA3BE2 #C170EA #D8A6F2

Accessibility & contrast

On white

4.74
#AA3BE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#AA3BE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA3BE2
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA3BE2#FFFFFF#000000##FFFFFF
##AA3BE21.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE7
Deuteranopia (green-blind)
#1C75DE
Tritanopia (blue-blind)
#A3628C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #aa3be2;
/* rgb */ color: rgb(170, 59, 226);
/* oklch */ color: oklch(58.7% 0.243 311.4);
Tailwind
colors: {
  custom: {
    50: '#c87cec',
    500: '#aa3be2',
    950: '#000000',
  },
}
SCSS
$custom: #aa3be2;
$custom-light: #c87cec;
$custom-dark: #000000;
JSON
{
  "hex": "#aa3be2",
  "rgb": {
    "r": 170,
    "g": 59,
    "b": 226
  },
  "hsl": {
    "h": 279.88,
    "s": 74.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.58682,
    "c": 0.24285,
    "h": 311.4
  },
  "luminance": 0.17165
}

Semantic roles & 50–950 ramp

primary
#AA3BE2
secondary
#B1DF9A
accent
#F13775
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140A16
muted
#827C84

Preview Lab

Preview with #AA3BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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