#AA27FF#AA27FF

#AA27FF is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 59.4% C 0.284 H 306.1°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#AA27FF
RGBrgb(170, 39, 255)
HSLhsl(276, 100%, 58%)
HSVhsv(276, 85%, 100%)
CMYKcmyk(33.3%, 84.7%, 0%, 0%)
CIE-LABlab(48.53, 81.41, -80.55)
CIE-LCHlch(48.53, 114.52, 315.31°)
OKLaboklab(59.4% 0.1677 -0.2296)
OKLCHoklch(59.4% 0.284 306.1)
XYZxyz(35.3491, 17.2174, 96.0494)
Luminance0.1722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA27FF #7CFF27
analogous
#3E27FF #AA27FF #FF27E8
triadic
#AA27FF #FFAA27 #27FFAA
tetradic
#AA27FF #FF3E27 #7CFF27 #27E8FF
square
#AA27FF #FF3E27 #7CFF27 #27E8FF
split-complementary
#AA27FF #E8FF27 #27FF3E
monochromatic
#6800AC #8D00E9 #AA27FF #C264FF #DAA1FF

Accessibility & contrast

On white

4.73
#AA27FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#AA27FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA27FF
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA27FF#FFFFFF#000000##FFFFFF
##AA27FF1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070FF
Deuteranopia (green-blind)
#0074FB
Tritanopia (blue-blind)
#9A6799
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #aa27ff;
/* rgb */ color: rgb(170, 39, 255);
/* oklch */ color: oklch(59.4% 0.284 306.1);
Tailwind
colors: {
  custom: {
    50: '#cb75ff',
    500: '#aa27ff',
    950: '#000000',
  },
}
SCSS
$custom: #aa27ff;
$custom-light: #cb75ff;
$custom-dark: #000000;
JSON
{
  "hex": "#aa27ff",
  "rgb": {
    "r": 170,
    "g": 39,
    "b": 255
  },
  "hsl": {
    "h": 276.389,
    "s": 100,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59401,
    "c": 0.28436,
    "h": 306.1
  },
  "luminance": 0.17217
}

Semantic roles & 50–950 ramp

primary
#AA27FF
secondary
#B8EC95
accent
#FF297D
background
#FDF7FF
surface
#FAEEFF
border
#D3C9D7
text
#140A18
muted
#837C86

Preview Lab

Preview with #AA27FF

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

Preview Lab → · Contrast checker → · Palette generator →

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