#AE4FE7#AE4FE7

#AE4FE7 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.6% C 0.225 H 310.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#AE4FE7
RGBrgb(174, 79, 231)
HSLhsl(278, 76%, 61%)
HSVhsv(278, 66%, 91%)
CMYKcmyk(24.7%, 65.8%, 0%, 9.4%)
CIE-LABlab(52.24, 63.11, -61.06)
CIE-LCHlch(52.24, 87.81, 315.95°)
OKLaboklab(61.59% 0.1452 -0.1725)
OKLCHoklch(61.59% 0.225 310.1)
XYZxyz(34.6726, 20.3609, 77.6893)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE4FE7 #88E74F
analogous
#624FE7 #AE4FE7 #E74FD4
triadic
#AE4FE7 #E7AE4F #4FE7AE
tetradic
#AE4FE7 #E7624F #88E74F #4FD4E7
square
#AE4FE7 #E7624F #88E74F #4FD4E7
split-complementary
#AE4FE7 #D4E74F #4FE762
monochromatic
#7017A5 #941EDB #AE4FE7 #C785EE #E0BBF6

Accessibility & contrast

On white

4.14
#AE4FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#AE4FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE4FE7
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE4FE7#FFFFFF#000000##000000
##AE4FE71.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EC
Deuteranopia (green-blind)
#397EE4
Tritanopia (blue-blind)
#A66F95
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ae4fe7;
/* rgb */ color: rgb(174, 79, 231);
/* oklch */ color: oklch(61.6% 0.225 310.1);
Tailwind
colors: {
  custom: {
    50: '#ca87ef',
    500: '#ae4fe7',
    950: '#000000',
  },
}
SCSS
$custom: #ae4fe7;
$custom-light: #ca87ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ae4fe7",
  "rgb": {
    "r": 174,
    "g": 79,
    "b": 231
  },
  "hsl": {
    "h": 277.5,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61588,
    "c": 0.22547,
    "h": 310.1
  },
  "luminance": 0.2036
}

Semantic roles & 50–950 ramp

primary
#AE4FE7
secondary
#C2E6AC
accent
#D80D59
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AE4FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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