#AE6BF2#AE6BF2

#AE6BF2 is a light, vivid violet. Relative luminance 0.259; OKLCH L 66.0% C 0.198 H 304.4°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#AE6BF2
RGBrgb(174, 107, 242)
HSLhsl(270, 84%, 68%)
HSVhsv(270, 56%, 95%)
CMYKcmyk(28.1%, 55.8%, 0%, 5.1%)
CIE-LABlab(57.97, 51.89, -58.03)
CIE-LCHlch(57.97, 77.84, 311.80°)
OKLaboklab(65.96% 0.1122 -0.1637)
OKLCHoklch(65.96% 0.198 304.4)
XYZxyz(38.7368, 25.9250, 86.9505)
Luminance0.2592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE6BF2 #AFF26B
analogous
#6B6BF2 #AE6BF2 #F26BF2
triadic
#AE6BF2 #F2AE6B #6BF2AE
tetradic
#AE6BF2 #F26B6B #AFF26B #6BF2F2
square
#AE6BF2 #F26B6B #AFF26B #6BF2F2
split-complementary
#AE6BF2 #F2F26B #6BF26B
monochromatic
#7112D0 #8F33ED #AE6BF2 #CDA3F7 #ECDCFC

Accessibility & contrast

On white

3.40
#AE6BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#AE6BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE6BF2
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE6BF2#FFFFFF#000000##000000
##AE6BF21.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#368AF6
Deuteranopia (green-blind)
#508BEF
Tritanopia (blue-blind)
#A285A4
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ae6bf2;
/* rgb */ color: rgb(174, 107, 242);
/* oklch */ color: oklch(66.0% 0.198 304.4);
Tailwind
colors: {
  custom: {
    50: '#ca98f7',
    500: '#ae6bf2',
    950: '#000000',
  },
}
SCSS
$custom: #ae6bf2;
$custom-light: #ca98f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ae6bf2",
  "rgb": {
    "r": 174,
    "g": 107,
    "b": 242
  },
  "hsl": {
    "h": 269.778,
    "s": 83.851,
    "l": 68.431
  },
  "oklch": {
    "l": 0.65957,
    "c": 0.19844,
    "h": 304.4
  },
  "luminance": 0.25925
}

Semantic roles & 50–950 ramp

primary
#AE6BF2
secondary
#DDF1C8
accent
#E00574
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #AE6BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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