#AFA0ED#AFA0ED

#AFA0ED is a light, moderate violet. Relative luminance 0.404; OKLCH L 74.7% C 0.110 H 292.5°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#AFA0ED
RGBrgb(175, 160, 237)
HSLhsl(252, 68%, 78%)
HSVhsv(252, 32%, 93%)
CMYKcmyk(26.2%, 32.5%, 0%, 7.1%)
CIE-LABlab(69.73, 21.70, -36.70)
CIE-LCHlch(69.73, 42.63, 300.59°)
OKLaboklab(74.75% 0.0421 -0.1018)
OKLCHoklch(74.75% 0.11 292.5)
XYZxyz(45.5323, 40.3693, 85.4975)
Luminance0.4037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA0ED #DEEDA0
analogous
#A0B7ED #AFA0ED #D5A0ED
triadic
#AFA0ED #EDAFA0 #A0EDAF
tetradic
#AFA0ED #EDA0B7 #DEEDA0 #A0EDD5
square
#AFA0ED #EDA0B7 #DEEDA0 #A0EDD5
split-complementary
#AFA0ED #EDD5A0 #B7EDA0
monochromatic
#5839DA #846DE3 #AFA0ED #DAD3F7 #E9E5FA

Accessibility & contrast

On white

2.31
#AFA0ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#AFA0ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA0ED
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA0ED#FFFFFF#000000##000000
##AFA0ED1.002.319.079.07
#FFFFFF2.311.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CABF0
Deuteranopia (green-blind)
#8DA9EB
Tritanopia (blue-blind)
#A2ADBC
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #afa0ed;
/* rgb */ color: rgb(175, 160, 237);
/* oklch */ color: oklch(74.7% 0.110 292.5);
Tailwind
colors: {
  custom: {
    50: '#c8bcf3',
    500: '#afa0ed',
    950: '#000000',
  },
}
SCSS
$custom: #afa0ed;
$custom-light: #c8bcf3;
$custom-dark: #000000;
JSON
{
  "hex": "#afa0ed",
  "rgb": {
    "r": 175,
    "g": 160,
    "b": 237
  },
  "hsl": {
    "h": 251.688,
    "s": 68.142,
    "l": 77.843
  },
  "oklch": {
    "l": 0.74747,
    "c": 0.11018,
    "h": 292.5
  },
  "luminance": 0.4037
}

Semantic roles & 50–950 ramp

primary
#AFA0ED
secondary
#EDF2D9
accent
#D015AC
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #AFA0ED

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

Preview Lab → · Contrast checker → · Palette generator →

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