#AA4BEC#AA4BEC

#AA4BEC is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 61.0% C 0.234 H 307.9°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#AA4BEC
RGBrgb(170, 75, 236)
HSLhsl(275, 81%, 61%)
HSVhsv(275, 68%, 93%)
CMYKcmyk(28%, 68.2%, 0%, 7.5%)
CIE-LABlab(51.42, 65.13, -65.22)
CIE-LCHlch(51.42, 92.17, 314.96°)
OKLaboklab(60.99% 0.1439 -0.1848)
OKLCHoklch(60.99% 0.234 307.9)
XYZxyz(34.2308, 19.6348, 81.3272)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4BEC #8DEC4B
analogous
#594BEC #AA4BEC #EC4BDD
triadic
#AA4BEC #ECAA4B #4BECAA
tetradic
#AA4BEC #EC594B #8DEC4B #4BDDEC
square
#AA4BEC #EC594B #8DEC4B #4BDDEC
split-complementary
#AA4BEC #DDEC4B #4BEC59
monochromatic
#6C12AB #8F18E2 #AA4BEC #C482F2 #DEBAF8

Accessibility & contrast

On white

4.26
#AA4BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#AA4BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA4BEC
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4BEC#FFFFFF#000000##000000
##AA4BEC1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F1
Deuteranopia (green-blind)
#237BE9
Tritanopia (blue-blind)
#A06F96
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #aa4bec;
/* rgb */ color: rgb(170, 75, 236);
/* oklch */ color: oklch(61.0% 0.234 307.9);
Tailwind
colors: {
  custom: {
    50: '#c884f3',
    500: '#aa4bec',
    950: '#000000',
  },
}
SCSS
$custom: #aa4bec;
$custom-light: #c884f3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4bec",
  "rgb": {
    "r": 170,
    "g": 75,
    "b": 236
  },
  "hsl": {
    "h": 275.404,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60994,
    "c": 0.23421,
    "h": 307.9
  },
  "luminance": 0.19634
}

Semantic roles & 50–950 ramp

primary
#AA4BEC
secondary
#C4E8AB
accent
#DD0860
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B17
muted
#827C85

Preview Lab

Preview with #AA4BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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