#AF90FC#AF90FC

#AF90FC is a light, vivid violet. Relative luminance 0.361; OKLCH L 72.6% C 0.155 H 295.5°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#AF90FC
RGBrgb(175, 144, 252)
HSLhsl(257, 95%, 78%)
HSVhsv(257, 43%, 99%)
CMYKcmyk(30.6%, 42.9%, 0%, 1.2%)
CIE-LABlab(66.59, 34.35, -49.83)
CIE-LCHlch(66.59, 60.52, 304.58°)
OKLaboklab(72.57% 0.0667 -0.1398)
OKLCHoklch(72.57% 0.155 295.5)
XYZxyz(45.2188, 36.0881, 96.6599)
Luminance0.3609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF90FC #DDFC90
analogous
#90A7FC #AF90FC #E590FC
triadic
#AF90FC #FCAF90 #90FCAF
tetradic
#AF90FC #FC90A7 #DDFC90 #90FCE5
square
#AF90FC #FC90A7 #DDFC90 #90FCE5
split-complementary
#AF90FC #FCE590 #A7FC90
monochromatic
#5919F9 #8454FA #AF90FC #DACCFE #EAE1FE

Accessibility & contrast

On white

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

On black

8.22
#AF90FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF90FC
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF90FC#FFFFFF#000000##000000
##AF90FC1.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA3FF
Deuteranopia (green-blind)
#74A0F9
Tritanopia (blue-blind)
#9EA4BA
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #af90fc;
/* rgb */ color: rgb(175, 144, 252);
/* oklch */ color: oklch(72.6% 0.155 295.5);
Tailwind
colors: {
  custom: {
    50: '#c9b1fe',
    500: '#af90fc',
    950: '#000000',
  },
}
SCSS
$custom: #af90fc;
$custom-light: #c9b1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#af90fc",
  "rgb": {
    "r": 175,
    "g": 144,
    "b": 252
  },
  "hsl": {
    "h": 257.222,
    "s": 94.737,
    "l": 77.647
  },
  "oklch": {
    "l": 0.72574,
    "c": 0.15487,
    "h": 295.5
  },
  "luminance": 0.36089
}

Semantic roles & 50–950 ramp

primary
#AF90FC
secondary
#EDF6D5
accent
#E600A4
background
#FCFAFF
surface
#F9F5FF
border
#D2CFD7
text
#131018
muted
#827F86

Preview Lab

Preview with #AF90FC

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

Preview Lab → · Contrast checker → · Palette generator →

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