#AF90CF#AF90CF

#AF90CF is a light, moderate violet. Relative luminance 0.336; OKLCH L 70.4% C 0.096 H 306.6°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#AF90CF
RGBrgb(175, 144, 207)
HSLhsl(270, 40%, 69%)
HSVhsv(270, 30%, 81%)
CMYKcmyk(15.5%, 30.4%, 0%, 18.8%)
CIE-LABlab(64.62, 23.78, -28.06)
CIE-LCHlch(64.62, 36.78, 310.29°)
OKLaboklab(70.43% 0.0572 -0.0771)
OKLCHoklch(70.43% 0.096 306.6)
XYZxyz(38.9128, 33.5657, 63.4482)
Luminance0.3357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF90CF #B0CF90
analogous
#9091CF #AF90CF #CF90CF
triadic
#AF90CF #CFAF90 #90CFAF
tetradic
#AF90CF #CF9091 #B0CF90 #90CFCF
square
#AF90CF #CF9091 #B0CF90 #90CFCF
split-complementary
#AF90CF #CFCF90 #91CF90
monochromatic
#7245A0 #9065BD #AF90CF #CEBBE1 #EDE5F4

Accessibility & contrast

On white

2.72
#AF90CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#AF90CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF90CF
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF90CF#FFFFFF#000000##000000
##AF90CF1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#849CD2
Deuteranopia (green-blind)
#8A9DCD
Tritanopia (blue-blind)
#AB99A7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #af90cf;
/* rgb */ color: rgb(175, 144, 207);
/* oklch */ color: oklch(70.4% 0.096 306.6);
Tailwind
colors: {
  custom: {
    50: '#c7b0de',
    500: '#af90cf',
    950: '#000000',
  },
}
SCSS
$custom: #af90cf;
$custom-light: #c7b0de;
$custom-dark: #000000;
JSON
{
  "hex": "#af90cf",
  "rgb": {
    "r": 175,
    "g": 144,
    "b": 207
  },
  "hsl": {
    "h": 269.524,
    "s": 39.623,
    "l": 68.824
  },
  "oklch": {
    "l": 0.70429,
    "c": 0.09595,
    "h": 306.6
  },
  "luminance": 0.33565
}

Semantic roles & 50–950 ramp

primary
#AF90CF
secondary
#DEE7D4
accent
#B33374
background
#FCFAFD
surface
#F8F5FB
border
#D1CFD4
text
#131015
muted
#827F83

Preview Lab

Preview with #AF90CF

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

Preview Lab → · Contrast checker → · Palette generator →

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