#AF9BEE#AF9BEE

#AF9BEE is a light, moderate violet. Relative luminance 0.387; OKLCH L 73.9% C 0.119 H 294.4°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#AF9BEE
RGBrgb(175, 155, 238)
HSLhsl(254, 71%, 77%)
HSVhsv(254, 35%, 93%)
CMYKcmyk(26.5%, 34.9%, 0%, 6.7%)
CIE-LABlab(68.55, 24.75, -39.08)
CIE-LCHlch(68.55, 46.26, 302.34°)
OKLaboklab(73.86% 0.0492 -0.1087)
OKLCHoklch(73.86% 0.119 294.4)
XYZxyz(44.8294, 38.7291, 85.9860)
Luminance0.3873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9BEE #DAEE9B
analogous
#9BB1EE #AF9BEE #D99BEE
triadic
#AF9BEE #EEAF9B #9BEEAF
tetradic
#AF9BEE #EE9BB1 #DAEE9B #9BEED9
square
#AF9BEE #EE9BB1 #DAEE9B #9BEED9
split-complementary
#AF9BEE #EED99B #B1EE9B
monochromatic
#5B32DC #8567E5 #AF9BEE #D9CFF7 #EAE5FB

Accessibility & contrast

On white

2.40
#AF9BEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#AF9BEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9BEE
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9BEE#FFFFFF#000000##000000
##AF9BEE1.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A8F1
Deuteranopia (green-blind)
#88A6EC
Tritanopia (blue-blind)
#A2A9BA
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #af9bee;
/* rgb */ color: rgb(175, 155, 238);
/* oklch */ color: oklch(73.9% 0.119 294.4);
Tailwind
colors: {
  custom: {
    50: '#c8b8f4',
    500: '#af9bee',
    950: '#000000',
  },
}
SCSS
$custom: #af9bee;
$custom-light: #c8b8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#af9bee",
  "rgb": {
    "r": 175,
    "g": 155,
    "b": 238
  },
  "hsl": {
    "h": 254.458,
    "s": 70.94,
    "l": 77.059
  },
  "oklch": {
    "l": 0.7386,
    "c": 0.11928,
    "h": 294.4
  },
  "luminance": 0.3873
}

Semantic roles & 50–950 ramp

primary
#AF9BEE
secondary
#ECF2D9
accent
#D313A5
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AF9BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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