#AFA0FD#AFA0FD

#AFA0FD is a light, vivid blue. Relative luminance 0.413; OKLCH L 75.5% C 0.132 H 290.3°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#AFA0FD
RGBrgb(175, 160, 253)
HSLhsl(250, 96%, 81%)
HSVhsv(250, 37%, 99%)
CMYKcmyk(30.8%, 36.8%, 0%, 0.8%)
CIE-LABlab(70.42, 25.61, -44.34)
CIE-LCHlch(70.42, 51.21, 300.01°)
OKLaboklab(75.5% 0.0457 -0.1239)
OKLCHoklch(75.5% 0.132 290.3)
XYZxyz(47.9751, 41.3464, 98.3625)
Luminance0.4135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA0FD #EEFDA0
analogous
#A0BFFD #AFA0FD #DDA0FD
triadic
#AFA0FD #FDAFA0 #A0FDAF
tetradic
#AFA0FD #FDA0BF #EEFDA0 #A0FDDD
square
#AFA0FD #FDA0BF #EEFDA0 #A0FDDD
split-complementary
#AFA0FD #FDDDA0 #BFFDA0
monochromatic
#4A28FA #7D64FC #AFA0FD #E1DCFE #E6E1FE

Accessibility & contrast

On white

2.27
#AFA0FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#AFA0FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA0FD
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA0FD#FFFFFF#000000##000000
##AFA0FD1.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#85AEFF
Deuteranopia (green-blind)
#85AAFB
Tritanopia (blue-blind)
#9DB1C3
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #afa0fd;
/* rgb */ color: rgb(175, 160, 253);
/* oklch */ color: oklch(75.5% 0.132 290.3);
Tailwind
colors: {
  custom: {
    50: '#c9bcfe',
    500: '#afa0fd',
    950: '#000000',
  },
}
SCSS
$custom: #afa0fd;
$custom-light: #c9bcfe;
$custom-dark: #000000;
JSON
{
  "hex": "#afa0fd",
  "rgb": {
    "r": 175,
    "g": 160,
    "b": 253
  },
  "hsl": {
    "h": 249.677,
    "s": 95.876,
    "l": 80.98
  },
  "oklch": {
    "l": 0.75498,
    "c": 0.13204,
    "h": 290.3
  },
  "luminance": 0.41347
}

Semantic roles & 50–950 ramp

primary
#AFA0FD
secondary
#F1F7D4
accent
#E600C0
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131218
muted
#828186

Preview Lab

Preview with #AFA0FD

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

Preview Lab → · Contrast checker → · Palette generator →

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