#AF8BED#AF8BED

#AF8BED is a light, vivid violet. Relative luminance 0.337; OKLCH L 70.9% C 0.143 H 299.7°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#AF8BED
RGBrgb(175, 139, 237)
HSLhsl(262, 73%, 74%)
HSVhsv(262, 41%, 93%)
CMYKcmyk(26.2%, 41.4%, 0%, 7.1%)
CIE-LABlab(64.72, 33.50, -44.54)
CIE-LCHlch(64.72, 55.73, 306.95°)
OKLaboklab(70.93% 0.0709 -0.1244)
OKLCHoklch(70.93% 0.143 299.7)
XYZxyz(42.1944, 33.6934, 84.3849)
Luminance0.3369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8BED #C9ED8B
analogous
#8B98ED #AF8BED #E08BED
triadic
#AF8BED #EDAF8B #8BEDAF
tetradic
#AF8BED #ED8B98 #C9ED8B #8BEDE0
square
#AF8BED #ED8B98 #C9ED8B #8BEDE0
split-complementary
#AF8BED #EDE08B #98ED8B
monochromatic
#6622DC #8A56E5 #AF8BED #D4C0F5 #EDE5FB

Accessibility & contrast

On white

2.71
#AF8BED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#AF8BED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF8BED
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8BED#FFFFFF#000000##000000
##AF8BED1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#709DF1
Deuteranopia (green-blind)
#789CEA
Tritanopia (blue-blind)
#A39CB1
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #af8bed;
/* rgb */ color: rgb(175, 139, 237);
/* oklch */ color: oklch(70.9% 0.143 299.7);
Tailwind
colors: {
  custom: {
    50: '#c9adf3',
    500: '#af8bed',
    950: '#000000',
  },
}
SCSS
$custom: #af8bed;
$custom-light: #c9adf3;
$custom-dark: #000000;
JSON
{
  "hex": "#af8bed",
  "rgb": {
    "r": 175,
    "g": 139,
    "b": 237
  },
  "hsl": {
    "h": 262.041,
    "s": 73.134,
    "l": 73.725
  },
  "oklch": {
    "l": 0.7093,
    "c": 0.1432,
    "h": 299.7
  },
  "luminance": 0.33694
}

Semantic roles & 50–950 ramp

primary
#AF8BED
secondary
#E9F3D8
accent
#D5108D
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AF8BED

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

Preview Lab → · Contrast checker → · Palette generator →

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