#AF91EF#AF91EF

#AF91EF is a light, vivid violet. Relative luminance 0.356; OKLCH L 72.1% C 0.136 H 297.6°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#AF91EF
RGBrgb(175, 145, 239)
HSLhsl(259, 75%, 75%)
HSVhsv(259, 39%, 94%)
CMYKcmyk(26.8%, 39.3%, 0%, 6.3%)
CIE-LABlab(66.21, 30.61, -43.30)
CIE-LCHlch(66.21, 53.03, 305.26°)
OKLaboklab(72.09% 0.0631 -0.1208)
OKLCHoklch(72.09% 0.136 297.6)
XYZxyz(43.3809, 35.5964, 86.2299)
Luminance0.3560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF91EF #D1EF91
analogous
#91A2EF #AF91EF #DE91EF
triadic
#AF91EF #EFAF91 #91EFAF
tetradic
#AF91EF #EF91A2 #D1EF91 #91EFDE
square
#AF91EF #EF91A2 #D1EF91 #91EFDE
split-complementary
#AF91EF #EFDE91 #A2EF91
monochromatic
#6126DF #885CE7 #AF91EF #D6C6F7 #ECE4FB

Accessibility & contrast

On white

2.59
#AF91EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#AF91EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF91EF
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF91EF#FFFFFF#000000##000000
##AF91EF1.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A1F3
Deuteranopia (green-blind)
#7DA0ED
Tritanopia (blue-blind)
#A2A1B5
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #af91ef;
/* rgb */ color: rgb(175, 145, 239);
/* oklch */ color: oklch(72.1% 0.136 297.6);
Tailwind
colors: {
  custom: {
    50: '#c9b1f4',
    500: '#af91ef',
    950: '#000000',
  },
}
SCSS
$custom: #af91ef;
$custom-light: #c9b1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#af91ef",
  "rgb": {
    "r": 175,
    "g": 145,
    "b": 239
  },
  "hsl": {
    "h": 259.149,
    "s": 74.603,
    "l": 75.294
  },
  "oklch": {
    "l": 0.72089,
    "c": 0.1363,
    "h": 297.6
  },
  "luminance": 0.35597
}

Semantic roles & 50–950 ramp

primary
#AF91EF
secondary
#EAF3D8
accent
#D70F97
background
#FCFAFE
surface
#F8F5FD
border
#D1CFD5
text
#131017
muted
#827F85

Preview Lab

Preview with #AF91EF

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

Preview Lab → · Contrast checker → · Palette generator →

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