#AF6FD6#AF6FD6

#AF6FD6 is a light, vivid violet. Relative luminance 0.253; OKLCH L 65.1% C 0.161 H 311.4°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#AF6FD6
RGBrgb(175, 111, 214)
HSLhsl(277, 56%, 64%)
HSVhsv(277, 48%, 84%)
CMYKcmyk(18.2%, 48.1%, 0%, 16.1%)
CIE-LABlab(57.40, 43.68, -43.24)
CIE-LCHlch(57.40, 61.46, 315.29°)
OKLaboklab(65.08% 0.1061 -0.1205)
OKLCHoklch(65.08% 0.161 311.4)
XYZxyz(35.4991, 25.3386, 66.6261)
Luminance0.2534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6FD6 #96D66F
analogous
#7B6FD6 #AF6FD6 #D66FC9
triadic
#AF6FD6 #D6AF6F #6FD6AF
tetradic
#AF6FD6 #D67B6F #96D66F #6FC9D6
square
#AF6FD6 #D67B6F #96D66F #6FC9D6
split-complementary
#AF6FD6 #C9D66F #6FD67B
monochromatic
#732D9E #953FC8 #AF6FD6 #C99FE4 #E4CEF1

Accessibility & contrast

On white

3.46
#AF6FD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#AF6FD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6FD6
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6FD6#FFFFFF#000000##000000
##AF6FD61.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5787DA
Deuteranopia (green-blind)
#698BD3
Tritanopia (blue-blind)
#AB7F99
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #af6fd6;
/* rgb */ color: rgb(175, 111, 214);
/* oklch */ color: oklch(65.1% 0.161 311.4);
Tailwind
colors: {
  custom: {
    50: '#c99ae3',
    500: '#af6fd6',
    950: '#000000',
  },
}
SCSS
$custom: #af6fd6;
$custom-light: #c99ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#af6fd6",
  "rgb": {
    "r": 175,
    "g": 111,
    "b": 214
  },
  "hsl": {
    "h": 277.282,
    "s": 55.676,
    "l": 63.725
  },
  "oklch": {
    "l": 0.65084,
    "c": 0.16055,
    "h": 311.4
  },
  "luminance": 0.25338
}

Semantic roles & 50–950 ramp

primary
#AF6FD6
secondary
#CCE3BE
accent
#C3225F
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AF6FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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