#AF9BE2#AF9BE2

#AF9BE2 is a light, moderate violet. Relative luminance 0.380; OKLCH L 73.3% C 0.103 H 296.7°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#AF9BE2
RGBrgb(175, 155, 226)
HSLhsl(257, 55%, 75%)
HSVhsv(257, 31%, 89%)
CMYKcmyk(22.6%, 31.4%, 0%, 11.4%)
CIE-LABlab(68.06, 21.90, -33.27)
CIE-LCHlch(68.06, 39.83, 303.36°)
OKLaboklab(73.31% 0.0463 -0.092)
OKLCHoklch(73.31% 0.103 296.7)
XYZxyz(43.1249, 38.0473, 77.0086)
Luminance0.3805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9BE2 #CEE29B
analogous
#9BABE2 #AF9BE2 #D29BE2
triadic
#AF9BE2 #E2AF9B #9BE2AF
tetradic
#AF9BE2 #E29BAB #CEE29B #9BE2D2
square
#AF9BE2 #E29BAB #CEE29B #9BE2D2
split-complementary
#AF9BE2 #E2D29B #ABE29B
monochromatic
#633CC6 #896CD4 #AF9BE2 #D5CAF0 #ECE7F8

Accessibility & contrast

On white

2.44
#AF9BE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#AF9BE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9BE2
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9BE2#FFFFFF#000000##000000
##AF9BE21.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA6E5
Deuteranopia (green-blind)
#8DA5E0
Tritanopia (blue-blind)
#A5A6B5
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #af9be2;
/* rgb */ color: rgb(175, 155, 226);
/* oklch */ color: oklch(73.3% 0.103 296.7);
Tailwind
colors: {
  custom: {
    50: '#c8b8eb',
    500: '#af9be2',
    950: '#000000',
  },
}
SCSS
$custom: #af9be2;
$custom-light: #c8b8eb;
$custom-dark: #000000;
JSON
{
  "hex": "#af9be2",
  "rgb": {
    "r": 175,
    "g": 155,
    "b": 226
  },
  "hsl": {
    "h": 256.901,
    "s": 55.039,
    "l": 74.706
  },
  "oklch": {
    "l": 0.73313,
    "c": 0.10297,
    "h": 296.7
  },
  "luminance": 0.38048
}

Semantic roles & 50–950 ramp

primary
#AF9BE2
secondary
#EAEFDC
accent
#C32396
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AF9BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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