#AE91F2#AE91F2

#AE91F2 is a light, vivid violet. Relative luminance 0.357; OKLCH L 72.2% C 0.140 H 296.5°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#AE91F2
RGBrgb(174, 145, 242)
HSLhsl(258, 79%, 76%)
HSVhsv(258, 40%, 95%)
CMYKcmyk(28.1%, 40.1%, 0%, 5.1%)
CIE-LABlab(66.26, 31.06, -44.87)
CIE-LCHlch(66.26, 54.57, 304.69°)
OKLaboklab(72.15% 0.0625 -0.1254)
OKLCHoklch(72.15% 0.14 296.5)
XYZxyz(43.6041, 35.6598, 88.5729)
Luminance0.3566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE91F2 #D5F291
analogous
#91A4F2 #AE91F2 #DE91F2
triadic
#AE91F2 #F2AE91 #91F2AE
tetradic
#AE91F2 #F291A4 #D5F291 #91F2DE
square
#AE91F2 #F291A4 #D5F291 #91F2DE
split-complementary
#AE91F2 #F2DE91 #A4F291
monochromatic
#5D24E5 #865AEC #AE91F2 #D6C8F8 #EBE4FC

Accessibility & contrast

On white

2.58
#AE91F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#AE91F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE91F2
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE91F2#FFFFFF#000000##000000
##AE91F21.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A2F6
Deuteranopia (green-blind)
#7BA0F0
Tritanopia (blue-blind)
#A0A2B6
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ae91f2;
/* rgb */ color: rgb(174, 145, 242);
/* oklch */ color: oklch(72.2% 0.140 296.5);
Tailwind
colors: {
  custom: {
    50: '#c8b1f7',
    500: '#ae91f2',
    950: '#000000',
  },
}
SCSS
$custom: #ae91f2;
$custom-light: #c8b1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ae91f2",
  "rgb": {
    "r": 174,
    "g": 145,
    "b": 242
  },
  "hsl": {
    "h": 257.938,
    "s": 78.862,
    "l": 75.882
  },
  "oklch": {
    "l": 0.7215,
    "c": 0.14011,
    "h": 296.5
  },
  "luminance": 0.3566
}

Semantic roles & 50–950 ramp

primary
#AE91F2
secondary
#EBF4D7
accent
#DB0A9D
background
#FCFAFF
surface
#F8F5FE
border
#D1CFD6
text
#131017
muted
#827F85

Preview Lab

Preview with #AE91F2

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

Preview Lab → · Contrast checker → · Palette generator →

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