#AF9FDA#AF9FDA

#AF9FDA is a light, moderate violet. Relative luminance 0.390; OKLCH L 73.7% C 0.086 H 296.7°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#AF9FDA
RGBrgb(175, 159, 218)
HSLhsl(256, 44%, 74%)
HSVhsv(256, 27%, 85%)
CMYKcmyk(19.7%, 27.1%, 0%, 14.5%)
CIE-LABlab(68.73, 17.81, -27.82)
CIE-LCHlch(68.73, 33.03, 302.63°)
OKLaboklab(73.73% 0.0385 -0.0765)
OKLCHoklch(73.73% 0.086 296.7)
XYZxyz(42.7294, 38.9719, 71.5873)
Luminance0.3897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9FDA #CADA9F
analogous
#9FADDA #AF9FDA #CD9FDA
triadic
#AF9FDA #DAAF9F #9FDAAF
tetradic
#AF9FDA #DA9FAD #CADA9F #9FDACD
square
#AF9FDA #DA9FAD #CADA9F #9FDACD
split-complementary
#AF9FDA #DACD9F #ADDA9F
monochromatic
#6547B8 #8A73C9 #AF9FDA #D4CBEB #EDE9F6

Accessibility & contrast

On white

2.39
#AF9FDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#AF9FDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9FDA
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9FDA#FFFFFF#000000##000000
##AF9FDA1.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#92A8DC
Deuteranopia (green-blind)
#94A7D8
Tritanopia (blue-blind)
#A7A8B4
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #af9fda;
/* rgb */ color: rgb(175, 159, 218);
/* oklch */ color: oklch(73.7% 0.086 296.7);
Tailwind
colors: {
  custom: {
    50: '#c7bbe5',
    500: '#af9fda',
    950: '#000000',
  },
}
SCSS
$custom: #af9fda;
$custom-light: #c7bbe5;
$custom-dark: #000000;
JSON
{
  "hex": "#af9fda",
  "rgb": {
    "r": 175,
    "g": 159,
    "b": 218
  },
  "hsl": {
    "h": 256.271,
    "s": 44.361,
    "l": 73.922
  },
  "oklch": {
    "l": 0.73729,
    "c": 0.08559,
    "h": 296.7
  },
  "luminance": 0.38972
}

Semantic roles & 50–950 ramp

primary
#AF9FDA
secondary
#E9EDDE
accent
#B82E92
background
#FCFBFE
surface
#F8F6FC
border
#D1D0D5
text
#131115
muted
#828084

Preview Lab

Preview with #AF9FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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