#AFA0FF#AFA0FF

#AFA0FF is a light, vivid blue. Relative luminance 0.415; OKLCH L 75.6% C 0.135 H 290.0°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#AFA0FF
RGBrgb(175, 160, 255)
HSLhsl(249, 100%, 81%)
HSVhsv(249, 37%, 100%)
CMYKcmyk(31.4%, 37.3%, 0%, 0%)
CIE-LABlab(70.51, 26.11, -45.29)
CIE-LCHlch(70.51, 52.28, 299.97°)
OKLaboklab(75.6% 0.0461 -0.1266)
OKLCHoklch(75.6% 0.135 290)
XYZxyz(48.2953, 41.4745, 100.0492)
Luminance0.4148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA0FF #F0FFA0
analogous
#A0C1FF #AFA0FF #DFA0FF
triadic
#AFA0FF #FFAFA0 #A0FFAF
tetradic
#AFA0FF #FFA0C1 #F0FFA0 #A0FFDF
square
#AFA0FF #FFA0C1 #F0FFA0 #A0FFDF
split-complementary
#AFA0FF #FFDFA0 #C1FFA0
monochromatic
#4826FF #7B63FF #AFA0FF #E3DDFF #E5E0FF

Accessibility & contrast

On white

2.26
#AFA0FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.30
#AFA0FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA0FF
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA0FF#FFFFFF#000000##000000
##AFA0FF1.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#84AEFF
Deuteranopia (green-blind)
#84AAFD
Tritanopia (blue-blind)
#9CB1C4
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #afa0ff;
/* rgb */ color: rgb(175, 160, 255);
/* oklch */ color: oklch(75.6% 0.135 290.0);
Tailwind
colors: {
  custom: {
    50: '#c9bcff',
    500: '#afa0ff',
    950: '#000000',
  },
}
SCSS
$custom: #afa0ff;
$custom-light: #c9bcff;
$custom-dark: #000000;
JSON
{
  "hex": "#afa0ff",
  "rgb": {
    "r": 175,
    "g": 160,
    "b": 255
  },
  "hsl": {
    "h": 249.474,
    "s": 100,
    "l": 81.373
  },
  "oklch": {
    "l": 0.75595,
    "c": 0.13475,
    "h": 290
  },
  "luminance": 0.41476
}

Semantic roles & 50–950 ramp

primary
#AFA0FF
secondary
#F2F7D4
accent
#E600C1
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131218
muted
#828186

Preview Lab

Preview with #AFA0FF

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

Preview Lab → · Contrast checker → · Palette generator →

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