#AF90F9#AF90F9

#AF90F9 is a light, vivid violet. Relative luminance 0.359; OKLCH L 72.4% C 0.151 H 296.0°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#AF90F9
RGBrgb(175, 144, 249)
HSLhsl(258, 90%, 77%)
HSVhsv(258, 42%, 98%)
CMYKcmyk(29.7%, 42.2%, 0%, 2.4%)
CIE-LABlab(66.44, 33.61, -48.41)
CIE-LCHlch(66.44, 58.94, 304.77°)
OKLaboklab(72.42% 0.0662 -0.1357)
OKLCHoklch(72.42% 0.151 296)
XYZxyz(44.7472, 35.8995, 94.1760)
Luminance0.3590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF90F9 #DAF990
analogous
#90A6F9 #AF90F9 #E390F9
triadic
#AF90F9 #F9AF90 #90F9AF
tetradic
#AF90F9 #F990A6 #DAF990 #90F9E3
square
#AF90F9 #F990A6 #DAF990 #90F9E3
split-complementary
#AF90F9 #F9E390 #A6F990
monochromatic
#5B1CF3 #8556F6 #AF90F9 #D9CAFC #EAE2FD

Accessibility & contrast

On white

2.57
#AF90F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#AF90F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF90F9
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF90F9#FFFFFF#000000##000000
##AF90F91.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A2FD
Deuteranopia (green-blind)
#76A0F6
Tritanopia (blue-blind)
#9FA3B9
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #af90f9;
/* rgb */ color: rgb(175, 144, 249);
/* oklch */ color: oklch(72.4% 0.151 296.0);
Tailwind
colors: {
  custom: {
    50: '#c9b1fc',
    500: '#af90f9',
    950: '#000000',
  },
}
SCSS
$custom: #af90f9;
$custom-light: #c9b1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#af90f9",
  "rgb": {
    "r": 175,
    "g": 144,
    "b": 249
  },
  "hsl": {
    "h": 257.714,
    "s": 89.744,
    "l": 77.059
  },
  "oklch": {
    "l": 0.72418,
    "c": 0.15095,
    "h": 296
  },
  "luminance": 0.359
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF90F9

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

Preview Lab → · Contrast checker → · Palette generator →

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