#AF90FA#AF90FA

#AF90FA is a light, vivid violet. Relative luminance 0.360; OKLCH L 72.5% C 0.152 H 295.8°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#AF90FA
RGBrgb(175, 144, 250)
HSLhsl(258, 91%, 77%)
HSVhsv(258, 42%, 98%)
CMYKcmyk(30%, 42.4%, 0%, 2%)
CIE-LABlab(66.49, 33.86, -48.88)
CIE-LCHlch(66.49, 59.46, 304.70°)
OKLaboklab(72.47% 0.0664 -0.137)
OKLCHoklch(72.47% 0.152 295.8)
XYZxyz(44.9036, 35.9620, 94.9996)
Luminance0.3596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF90FA #DBFA90
analogous
#90A6FA #AF90FA #E490FA
triadic
#AF90FA #FAAF90 #90FAAF
tetradic
#AF90FA #FA90A6 #DBFA90 #90FAE4
square
#AF90FA #FA90A6 #DBFA90 #90FAE4
split-complementary
#AF90FA #FAE490 #A6FA90
monochromatic
#5B1BF5 #8555F7 #AF90FA #D9CBFD #EAE2FE

Accessibility & contrast

On white

2.56
#AF90FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#AF90FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF90FA
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF90FA#FFFFFF#000000##000000
##AF90FA1.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A2FE
Deuteranopia (green-blind)
#76A0F7
Tritanopia (blue-blind)
#9FA3B9
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #af90fa;
/* rgb */ color: rgb(175, 144, 250);
/* oklch */ color: oklch(72.5% 0.152 295.8);
Tailwind
colors: {
  custom: {
    50: '#c9b1fc',
    500: '#af90fa',
    950: '#000000',
  },
}
SCSS
$custom: #af90fa;
$custom-light: #c9b1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#af90fa",
  "rgb": {
    "r": 175,
    "g": 144,
    "b": 250
  },
  "hsl": {
    "h": 257.547,
    "s": 91.379,
    "l": 77.255
  },
  "oklch": {
    "l": 0.7247,
    "c": 0.15226,
    "h": 295.8
  },
  "luminance": 0.35963
}

Semantic roles & 50–950 ramp

primary
#AF90FA
secondary
#ECF6D5
accent
#E600A2
background
#FCFAFF
surface
#F9F5FF
border
#D2CFD7
text
#131017
muted
#827F85

Preview Lab

Preview with #AF90FA

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

Preview Lab → · Contrast checker → · Palette generator →

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