#AF91EA#AF91EA

#AF91EA is a light, vivid violet. Relative luminance 0.353; OKLCH L 71.8% C 0.130 H 298.6°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#AF91EA
RGBrgb(175, 145, 234)
HSLhsl(260, 68%, 74%)
HSVhsv(260, 38%, 92%)
CMYKcmyk(25.2%, 38%, 0%, 8.2%)
CIE-LABlab(65.99, 29.41, -40.90)
CIE-LCHlch(65.99, 50.38, 305.72°)
OKLaboklab(71.85% 0.0621 -0.1139)
OKLCHoklch(71.85% 0.13 298.6)
XYZxyz(42.6525, 35.3050, 82.3934)
Luminance0.3530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF91EA #CCEA91
analogous
#91A0EA #AF91EA #DC91EA
triadic
#AF91EA #EAAF91 #91EAAF
tetradic
#AF91EA #EA91A0 #CCEA91 #91EADC
square
#AF91EA #EA91A0 #CCEA91 #91EADC
split-complementary
#AF91EA #EADC91 #A0EA91
monochromatic
#642AD6 #8A5EE0 #AF91EA #D4C4F4 #ECE5FA

Accessibility & contrast

On white

2.61
#AF91EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#AF91EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF91EA
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF91EA#FFFFFF#000000##000000
##AF91EA1.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA0ED
Deuteranopia (green-blind)
#7FA0E8
Tritanopia (blue-blind)
#A4A0B2
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #af91ea;
/* rgb */ color: rgb(175, 145, 234);
/* oklch */ color: oklch(71.8% 0.130 298.6);
Tailwind
colors: {
  custom: {
    50: '#c8b1f1',
    500: '#af91ea',
    950: '#000000',
  },
}
SCSS
$custom: #af91ea;
$custom-light: #c8b1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#af91ea",
  "rgb": {
    "r": 175,
    "g": 145,
    "b": 234
  },
  "hsl": {
    "h": 260.225,
    "s": 67.939,
    "l": 74.314
  },
  "oklch": {
    "l": 0.71845,
    "c": 0.12972,
    "h": 298.6
  },
  "luminance": 0.35305
}

Semantic roles & 50–950 ramp

primary
#AF91EA
secondary
#E9F2D9
accent
#D01691
background
#FCFAFE
surface
#F8F5FD
border
#D1CFD5
text
#131017
muted
#827F85

Preview Lab

Preview with #AF91EA

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

Preview Lab → · Contrast checker → · Palette generator →

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