#AF91E4#AF91E4

#AF91E4 is a light, vivid violet. Relative luminance 0.350; OKLCH L 71.6% C 0.122 H 300.0°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#AF91E4
RGBrgb(175, 145, 228)
HSLhsl(262, 61%, 73%)
HSVhsv(262, 36%, 89%)
CMYKcmyk(23.2%, 36.4%, 0%, 10.6%)
CIE-LABlab(65.72, 28.00, -38.00)
CIE-LCHlch(65.72, 47.20, 306.38°)
OKLaboklab(71.56% 0.0609 -0.1055)
OKLCHoklch(71.56% 0.122 300)
XYZxyz(41.8051, 34.9660, 77.9304)
Luminance0.3497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF91E4 #C6E491
analogous
#919CE4 #AF91E4 #D991E4
triadic
#AF91E4 #E4AF91 #91E4AF
tetradic
#AF91E4 #E4919C #C6E491 #91E4D9
square
#AF91E4 #E4919C #C6E491 #91E4D9
split-complementary
#AF91E4 #E4D991 #9CE491
monochromatic
#6831C9 #8B60D8 #AF91E4 #D3C2F0 #EDE6F9

Accessibility & contrast

On white

2.63
#AF91E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#AF91E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF91E4
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF91E4#FFFFFF#000000##000000
##AF91E41.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9FE7
Deuteranopia (green-blind)
#829FE2
Tritanopia (blue-blind)
#A59FB0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #af91e4;
/* rgb */ color: rgb(175, 145, 228);
/* oklch */ color: oklch(71.6% 0.122 300.0);
Tailwind
colors: {
  custom: {
    50: '#c8b1ed',
    500: '#af91e4',
    950: '#000000',
  },
}
SCSS
$custom: #af91e4;
$custom-light: #c8b1ed;
$custom-dark: #000000;
JSON
{
  "hex": "#af91e4",
  "rgb": {
    "r": 175,
    "g": 145,
    "b": 228
  },
  "hsl": {
    "h": 261.687,
    "s": 60.584,
    "l": 73.137
  },
  "oklch": {
    "l": 0.71558,
    "c": 0.12181,
    "h": 300
  },
  "luminance": 0.34966
}

Semantic roles & 50–950 ramp

primary
#AF91E4
secondary
#E8F0DB
accent
#C81D8A
background
#FCFAFE
surface
#F8F5FD
border
#D1CFD5
text
#131016
muted
#827F84

Preview Lab

Preview with #AF91E4

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

Preview Lab → · Contrast checker → · Palette generator →

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