#AE8BF2#AE8BF2

#AE8BF2 is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.1% C 0.149 H 298.2°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#AE8BF2
RGBrgb(174, 139, 242)
HSLhsl(260, 80%, 75%)
HSVhsv(260, 43%, 95%)
CMYKcmyk(28.1%, 42.6%, 0%, 5.1%)
CIE-LABlab(64.86, 34.43, -47.07)
CIE-LCHlch(64.86, 58.32, 306.18°)
OKLaboklab(71.09% 0.0706 -0.1318)
OKLCHoklch(71.09% 0.149 298.2)
XYZxyz(42.7114, 33.8743, 88.2754)
Luminance0.3387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE8BF2 #CFF28B
analogous
#8B9CF2 #AE8BF2 #E18BF2
triadic
#AE8BF2 #F2AE8B #8BF2AE
tetradic
#AE8BF2 #F28B9C #CFF28B #8BF2E1
square
#AE8BF2 #F28B9C #CFF28B #8BF2E1
split-complementary
#AE8BF2 #F2E18B #9CF28B
monochromatic
#611DE6 #8854EC #AE8BF2 #D4C2F8 #ECE3FC

Accessibility & contrast

On white

2.70
#AE8BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#AE8BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE8BF2
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE8BF2#FFFFFF#000000##000000
##AE8BF21.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9EF6
Deuteranopia (green-blind)
#749CEF
Tritanopia (blue-blind)
#A09DB3
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ae8bf2;
/* rgb */ color: rgb(174, 139, 242);
/* oklch */ color: oklch(71.1% 0.149 298.2);
Tailwind
colors: {
  custom: {
    50: '#c8adf7',
    500: '#ae8bf2',
    950: '#000000',
  },
}
SCSS
$custom: #ae8bf2;
$custom-light: #c8adf7;
$custom-dark: #000000;
JSON
{
  "hex": "#ae8bf2",
  "rgb": {
    "r": 174,
    "g": 139,
    "b": 242
  },
  "hsl": {
    "h": 260.388,
    "s": 79.845,
    "l": 74.706
  },
  "oklch": {
    "l": 0.71094,
    "c": 0.14948,
    "h": 298.2
  },
  "luminance": 0.33875
}

Semantic roles & 50–950 ramp

primary
#AE8BF2
secondary
#EAF4D7
accent
#DC0995
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#131017
muted
#827F85

Preview Lab

Preview with #AE8BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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