#AF90EF#AF90EF

#AF90EF is a light, vivid violet. Relative luminance 0.353; OKLCH L 71.9% C 0.138 H 297.9°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#AF90EF
RGBrgb(175, 144, 239)
HSLhsl(260, 75%, 75%)
HSVhsv(260, 40%, 94%)
CMYKcmyk(26.8%, 39.7%, 0%, 6.3%)
CIE-LABlab(65.98, 31.17, -43.67)
CIE-LCHlch(65.98, 53.65, 305.52°)
OKLaboklab(71.91% 0.0645 -0.1219)
OKLCHoklch(71.91% 0.138 297.9)
XYZxyz(43.2288, 35.2921, 86.1792)
Luminance0.3529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF90EF #D0EF90
analogous
#90A0EF #AF90EF #DE90EF
triadic
#AF90EF #EFAF90 #90EFAF
tetradic
#AF90EF #EF90A0 #D0EF90 #90EFDE
square
#AF90EF #EF90A0 #D0EF90 #90EFDE
split-complementary
#AF90EF #EFDE90 #A0EF90
monochromatic
#6225E0 #885BE7 #AF90EF #D6C5F7 #ECE4FB

Accessibility & contrast

On white

2.61
#AF90EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#AF90EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF90EF
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF90EF#FFFFFF#000000##000000
##AF90EF1.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A1F3
Deuteranopia (green-blind)
#7C9FED
Tritanopia (blue-blind)
#A2A0B4
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #af90ef;
/* rgb */ color: rgb(175, 144, 239);
/* oklch */ color: oklch(71.9% 0.138 297.9);
Tailwind
colors: {
  custom: {
    50: '#c9b1f4',
    500: '#af90ef',
    950: '#000000',
  },
}
SCSS
$custom: #af90ef;
$custom-light: #c9b1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#af90ef",
  "rgb": {
    "r": 175,
    "g": 144,
    "b": 239
  },
  "hsl": {
    "h": 259.579,
    "s": 74.803,
    "l": 75.098
  },
  "oklch": {
    "l": 0.71911,
    "c": 0.13788,
    "h": 297.9
  },
  "luminance": 0.35292
}

Semantic roles & 50–950 ramp

primary
#AF90EF
secondary
#EAF3D8
accent
#D70F96
background
#FCFAFE
surface
#F8F5FD
border
#D1CFD5
text
#131017
muted
#827F85

Preview Lab

Preview with #AF90EF

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

Preview Lab → · Contrast checker → · Palette generator →

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