#AF9CF6#AF9CF6

#AF9CF6 is a light, vivid violet. Relative luminance 0.395; OKLCH L 74.4% C 0.129 H 292.7°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#AF9CF6
RGBrgb(175, 156, 246)
HSLhsl(253, 83%, 79%)
HSVhsv(253, 37%, 96%)
CMYKcmyk(28.9%, 36.6%, 0%, 3.5%)
CIE-LABlab(69.14, 26.13, -42.53)
CIE-LCHlch(69.14, 49.92, 301.56°)
OKLaboklab(74.42% 0.0496 -0.1186)
OKLCHoklch(74.42% 0.129 292.7)
XYZxyz(46.1981, 39.5439, 92.3697)
Luminance0.3955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9CF6 #E3F69C
analogous
#9CB6F6 #AF9CF6 #DC9CF6
triadic
#AF9CF6 #F6AF9C #9CF6AF
tetradic
#AF9CF6 #F69CB6 #E3F69C #9CF6DC
square
#AF9CF6 #F69CB6 #E3F69C #9CF6DC
split-complementary
#AF9CF6 #F6DC9C #B6F69C
monochromatic
#542CEC #8264F1 #AF9CF6 #DCD4FB #E8E3FC

Accessibility & contrast

On white

2.36
#AF9CF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#AF9CF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9CF6
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9CF6#FFFFFF#000000##000000
##AF9CF61.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#83AAFA
Deuteranopia (green-blind)
#85A7F4
Tritanopia (blue-blind)
#9FACBE
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #af9cf6;
/* rgb */ color: rgb(175, 156, 246);
/* oklch */ color: oklch(74.4% 0.129 292.7);
Tailwind
colors: {
  custom: {
    50: '#c9b9f9',
    500: '#af9cf6',
    950: '#000000',
  },
}
SCSS
$custom: #af9cf6;
$custom-light: #c9b9f9;
$custom-dark: #000000;
JSON
{
  "hex": "#af9cf6",
  "rgb": {
    "r": 175,
    "g": 156,
    "b": 246
  },
  "hsl": {
    "h": 252.667,
    "s": 83.333,
    "l": 78.824
  },
  "oklch": {
    "l": 0.74423,
    "c": 0.12858,
    "h": 292.7
  },
  "luminance": 0.39545
}

Semantic roles & 50–950 ramp

primary
#AF9CF6
secondary
#EEF4D7
accent
#E006B2
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AF9CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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