#AF9BF8#AF9BF8

#AF9BF8 is a light, vivid violet. Relative luminance 0.393; OKLCH L 74.3% C 0.133 H 292.8°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#AF9BF8
RGBrgb(175, 155, 248)
HSLhsl(253, 87%, 79%)
HSVhsv(253, 38%, 97%)
CMYKcmyk(29.4%, 37.5%, 0%, 2.7%)
CIE-LABlab(68.99, 27.18, -43.86)
CIE-LCHlch(68.99, 51.60, 301.79°)
OKLaboklab(74.34% 0.0514 -0.1225)
OKLCHoklch(74.34% 0.133 292.8)
XYZxyz(46.3396, 39.3332, 93.9394)
Luminance0.3933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9BF8 #E4F89B
analogous
#9BB6F8 #AF9BF8 #DE9BF8
triadic
#AF9BF8 #F8AF9B #9BF8AF
tetradic
#AF9BF8 #F89BB6 #E4F89B #9BF8DE
square
#AF9BF8 #F89BB6 #E4F89B #9BF8DE
split-complementary
#AF9BF8 #F8DE9B #B6F89B
monochromatic
#5329F0 #8162F4 #AF9BF8 #DDD4FC #E8E2FD

Accessibility & contrast

On white

2.37
#AF9BF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#AF9BF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9BF8
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9BF8#FFFFFF#000000##000000
##AF9BF81.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#81AAFC
Deuteranopia (green-blind)
#83A7F6
Tritanopia (blue-blind)
#9FACBE
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #af9bf8;
/* rgb */ color: rgb(175, 155, 248);
/* oklch */ color: oklch(74.3% 0.133 292.8);
Tailwind
colors: {
  custom: {
    50: '#c9b8fb',
    500: '#af9bf8',
    950: '#000000',
  },
}
SCSS
$custom: #af9bf8;
$custom-light: #c9b8fb;
$custom-dark: #000000;
JSON
{
  "hex": "#af9bf8",
  "rgb": {
    "r": 175,
    "g": 155,
    "b": 248
  },
  "hsl": {
    "h": 252.903,
    "s": 86.916,
    "l": 79.02
  },
  "oklch": {
    "l": 0.74337,
    "c": 0.13279,
    "h": 292.8
  },
  "luminance": 0.39334
}

Semantic roles & 50–950 ramp

primary
#AF9BF8
secondary
#EEF5D6
accent
#E302B3
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AF9BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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