#AF90EB#AF90EB

#AF90EB is a light, vivid violet. Relative luminance 0.351; OKLCH L 71.7% C 0.133 H 298.7°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#AF90EB
RGBrgb(175, 144, 235)
HSLhsl(260, 69%, 74%)
HSVhsv(260, 39%, 92%)
CMYKcmyk(25.5%, 38.7%, 0%, 7.8%)
CIE-LABlab(65.79, 30.21, -41.75)
CIE-LCHlch(65.79, 51.54, 305.89°)
OKLaboklab(71.71% 0.0637 -0.1163)
OKLCHoklch(71.71% 0.133 298.7)
XYZxyz(42.6444, 35.0584, 83.1014)
Luminance0.3506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF90EB #CCEB90
analogous
#909FEB #AF90EB #DD90EB
triadic
#AF90EB #EBAF90 #90EBAF
tetradic
#AF90EB #EB909F #CCEB90 #90EBDD
square
#AF90EB #EB909F #CCEB90 #90EBDD
split-complementary
#AF90EB #EBDD90 #9FEB90
monochromatic
#6428D8 #8A5CE2 #AF90EB #D4C4F4 #ECE5FA

Accessibility & contrast

On white

2.62
#AF90EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#AF90EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF90EB
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF90EB#FFFFFF#000000##000000
##AF90EB1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A0EE
Deuteranopia (green-blind)
#7E9FE9
Tritanopia (blue-blind)
#A39FB2
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #af90eb;
/* rgb */ color: rgb(175, 144, 235);
/* oklch */ color: oklch(71.7% 0.133 298.7);
Tailwind
colors: {
  custom: {
    50: '#c8b1f2',
    500: '#af90eb',
    950: '#000000',
  },
}
SCSS
$custom: #af90eb;
$custom-light: #c8b1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#af90eb",
  "rgb": {
    "r": 175,
    "g": 144,
    "b": 235
  },
  "hsl": {
    "h": 260.44,
    "s": 69.466,
    "l": 74.314
  },
  "oklch": {
    "l": 0.71714,
    "c": 0.13263,
    "h": 298.7
  },
  "luminance": 0.35059
}

Semantic roles & 50–950 ramp

primary
#AF90EB
secondary
#E9F2D9
accent
#D11491
background
#FCFAFE
surface
#F8F5FD
border
#D1CFD5
text
#131017
muted
#827F85

Preview Lab

Preview with #AF90EB

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

Preview Lab → · Contrast checker → · Palette generator →

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