#AF90DC#AF90DC

#AF90DC is a light, moderate violet. Relative luminance 0.342; OKLCH L 71.0% C 0.113 H 302.4°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#AF90DC
RGBrgb(175, 144, 220)
HSLhsl(264, 52%, 71%)
HSVhsv(264, 35%, 86%)
CMYKcmyk(20.5%, 34.5%, 0%, 13.7%)
CIE-LABlab(65.14, 26.71, -34.47)
CIE-LCHlch(65.14, 43.61, 307.76°)
OKLaboklab(71.01% 0.0605 -0.0954)
OKLCHoklch(71.01% 0.113 302.4)
XYZxyz(40.5680, 34.2278, 72.1657)
Luminance0.3423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF90DC #BDDC90
analogous
#9097DC #AF90DC #D590DC
triadic
#AF90DC #DCAF90 #90DCAF
tetradic
#AF90DC #DC9097 #BDDC90 #90DCD5
square
#AF90DC #DC9097 #BDDC90 #90DCD5
split-complementary
#AF90DC #DCD590 #97DC90
monochromatic
#6D3AB8 #8D61CD #AF90DC #D1BFEB #EEE8F8

Accessibility & contrast

On white

2.68
#AF90DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#AF90DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF90DC
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF90DC#FFFFFF#000000##000000
##AF90DC1.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F9DDF
Deuteranopia (green-blind)
#859EDA
Tritanopia (blue-blind)
#A79CAC
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #af90dc;
/* rgb */ color: rgb(175, 144, 220);
/* oklch */ color: oklch(71.0% 0.113 302.4);
Tailwind
colors: {
  custom: {
    50: '#c8b0e7',
    500: '#af90dc',
    950: '#000000',
  },
}
SCSS
$custom: #af90dc;
$custom-light: #c8b0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#af90dc",
  "rgb": {
    "r": 175,
    "g": 144,
    "b": 220
  },
  "hsl": {
    "h": 264.474,
    "s": 52.055,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71005,
    "c": 0.11292,
    "h": 302.4
  },
  "luminance": 0.34228
}

Semantic roles & 50–950 ramp

primary
#AF90DC
secondary
#E6EEDA
accent
#BF2681
background
#FCFAFE
surface
#F8F5FC
border
#D1CFD5
text
#131016
muted
#827F84

Preview Lab

Preview with #AF90DC

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

Preview Lab → · Contrast checker → · Palette generator →

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