#AA4FEA#AA4FEA

#AA4FEA is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.3% C 0.227 H 308.0°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#AA4FEA
RGBrgb(170, 79, 234)
HSLhsl(275, 79%, 61%)
HSVhsv(275, 66%, 92%)
CMYKcmyk(27.4%, 66.2%, 0%, 8.2%)
CIE-LABlab(51.93, 62.92, -63.28)
CIE-LCHlch(51.93, 89.24, 314.84°)
OKLaboklab(61.31% 0.1399 -0.1791)
OKLCHoklch(61.31% 0.227 308)
XYZxyz(34.2218, 20.0790, 79.8988)
Luminance0.2008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4FEA #8FEA4F
analogous
#5D4FEA #AA4FEA #EA4FDC
triadic
#AA4FEA #EAAA4F #4FEAAA
tetradic
#AA4FEA #EA5D4F #8FEA4F #4FDCEA
square
#AA4FEA #EA5D4F #8FEA4F #4FDCEA
split-complementary
#AA4FEA #DCEA4F #4FEA5D
monochromatic
#6C14AA #8F1BE1 #AA4FEA #C486F1 #DFBCF7

Accessibility & contrast

On white

4.19
#AA4FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#AA4FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA4FEA
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4FEA#FFFFFF#000000##000000
##AA4FEA1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EF
Deuteranopia (green-blind)
#2E7DE7
Tritanopia (blue-blind)
#A07096
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #aa4fea;
/* rgb */ color: rgb(170, 79, 234);
/* oklch */ color: oklch(61.3% 0.227 308.0);
Tailwind
colors: {
  custom: {
    50: '#c886f2',
    500: '#aa4fea',
    950: '#000000',
  },
}
SCSS
$custom: #aa4fea;
$custom-light: #c886f2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4fea",
  "rgb": {
    "r": 170,
    "g": 79,
    "b": 234
  },
  "hsl": {
    "h": 275.226,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61314,
    "c": 0.22729,
    "h": 308
  },
  "luminance": 0.20079
}

Semantic roles & 50–950 ramp

primary
#AA4FEA
secondary
#C5E7AD
accent
#DB0B61
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AA4FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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