#AF90F0#AF90F0

#AF90F0 is a light, vivid violet. Relative luminance 0.354; OKLCH L 72.0% C 0.139 H 297.7°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#AF90F0
RGBrgb(175, 144, 240)
HSLhsl(259, 76%, 75%)
HSVhsv(259, 40%, 94%)
CMYKcmyk(27.1%, 40%, 0%, 5.9%)
CIE-LABlab(66.02, 31.41, -44.14)
CIE-LCHlch(66.02, 54.18, 305.44°)
OKLaboklab(71.96% 0.0647 -0.1233)
OKLCHoklch(71.96% 0.139 297.7)
XYZxyz(43.3769, 35.3514, 86.9594)
Luminance0.3535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF90F0 #D1F090
analogous
#90A1F0 #AF90F0 #DF90F0
triadic
#AF90F0 #F0AF90 #90F0AF
tetradic
#AF90F0 #F090A1 #D1F090 #90F0DF
square
#AF90F0 #F090A1 #D1F090 #90F0DF
split-complementary
#AF90F0 #F0DF90 #A1F090
monochromatic
#6124E1 #885AE9 #AF90F0 #D6C6F7 #ECE4FB

Accessibility & contrast

On white

2.60
#AF90F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#AF90F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF90F0
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF90F0#FFFFFF#000000##000000
##AF90F01.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A1F4
Deuteranopia (green-blind)
#7B9FEE
Tritanopia (blue-blind)
#A2A1B5
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #af90f0;
/* rgb */ color: rgb(175, 144, 240);
/* oklch */ color: oklch(72.0% 0.139 297.7);
Tailwind
colors: {
  custom: {
    50: '#c9b1f5',
    500: '#af90f0',
    950: '#000000',
  },
}
SCSS
$custom: #af90f0;
$custom-light: #c9b1f5;
$custom-dark: #000000;
JSON
{
  "hex": "#af90f0",
  "rgb": {
    "r": 175,
    "g": 144,
    "b": 240
  },
  "hsl": {
    "h": 259.375,
    "s": 76.19,
    "l": 75.294
  },
  "oklch": {
    "l": 0.71961,
    "c": 0.13919,
    "h": 297.7
  },
  "luminance": 0.35352
}

Semantic roles & 50–950 ramp

primary
#AF90F0
secondary
#EAF3D8
accent
#D80D97
background
#FCFAFF
surface
#F8F5FE
border
#D1CFD6
text
#131017
muted
#827F85

Preview Lab

Preview with #AF90F0

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

Preview Lab → · Contrast checker → · Palette generator →

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