#AF90E4#AF90E4

#AF90E4 is a light, vivid violet. Relative luminance 0.347; OKLCH L 71.4% C 0.123 H 300.3°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#AF90E4
RGBrgb(175, 144, 228)
HSLhsl(262, 61%, 73%)
HSVhsv(262, 37%, 89%)
CMYKcmyk(23.2%, 36.8%, 0%, 10.6%)
CIE-LABlab(65.48, 28.56, -38.37)
CIE-LCHlch(65.48, 47.83, 306.66°)
OKLaboklab(71.38% 0.0623 -0.1066)
OKLCHoklch(71.38% 0.123 300.3)
XYZxyz(41.6529, 34.6618, 77.8797)
Luminance0.3466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF90E4 #C5E490
analogous
#909BE4 #AF90E4 #D990E4
triadic
#AF90E4 #E4AF90 #90E4AF
tetradic
#AF90E4 #E4909B #C5E490 #90E4D9
square
#AF90E4 #E4909B #C5E490 #90E4D9
split-complementary
#AF90E4 #E4D990 #9BE490
monochromatic
#6931C9 #8C5FD8 #AF90E4 #D2C1F0 #EDE6F9

Accessibility & contrast

On white

2.65
#AF90E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#AF90E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF90E4
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF90E4#FFFFFF#000000##000000
##AF90E41.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C9FE7
Deuteranopia (green-blind)
#819FE2
Tritanopia (blue-blind)
#A59EAF
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #af90e4;
/* rgb */ color: rgb(175, 144, 228);
/* oklch */ color: oklch(71.4% 0.123 300.3);
Tailwind
colors: {
  custom: {
    50: '#c8b1ed',
    500: '#af90e4',
    950: '#000000',
  },
}
SCSS
$custom: #af90e4;
$custom-light: #c8b1ed;
$custom-dark: #000000;
JSON
{
  "hex": "#af90e4",
  "rgb": {
    "r": 175,
    "g": 144,
    "b": 228
  },
  "hsl": {
    "h": 262.143,
    "s": 60.87,
    "l": 72.941
  },
  "oklch": {
    "l": 0.71377,
    "c": 0.12343,
    "h": 300.3
  },
  "luminance": 0.34662
}

Semantic roles & 50–950 ramp

primary
#AF90E4
secondary
#E8F0DB
accent
#C91D89
background
#FCFAFE
surface
#F8F5FD
border
#D1CFD5
text
#131016
muted
#827F84

Preview Lab

Preview with #AF90E4

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

Preview Lab → · Contrast checker → · Palette generator →

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