#AF7AE6#AF7AE6

#AF7AE6 is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.7% C 0.162 H 305.1°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#AF7AE6
RGBrgb(175, 122, 230)
HSLhsl(269, 68%, 69%)
HSVhsv(269, 47%, 90%)
CMYKcmyk(23.9%, 47%, 0%, 9.8%)
CIE-LABlab(60.56, 41.30, -47.22)
CIE-LCHlch(60.56, 62.73, 311.17°)
OKLaboklab(67.69% 0.093 -0.1321)
OKLCHoklch(67.69% 0.162 305.1)
XYZxyz(38.9187, 28.7464, 78.3459)
Luminance0.2875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7AE6 #B1E67A
analogous
#7A7BE6 #AF7AE6 #E57AE6
triadic
#AF7AE6 #E6AF7A #7AE6AF
tetradic
#AF7AE6 #E67A7B #B1E67A #7AE6E5
square
#AF7AE6 #E67A7B #B1E67A #7AE6E5
split-complementary
#AF7AE6 #E6E57A #7BE67A
monochromatic
#7124C1 #9046DC #AF7AE6 #CEAEF0 #EDE1F9

Accessibility & contrast

On white

3.11
#AF7AE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#AF7AE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7AE6
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7AE6#FFFFFF#000000##000000
##AF7AE61.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C90EA
Deuteranopia (green-blind)
#6A92E3
Tritanopia (blue-blind)
#A68DA5
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #af7ae6;
/* rgb */ color: rgb(175, 122, 230);
/* oklch */ color: oklch(67.7% 0.162 305.1);
Tailwind
colors: {
  custom: {
    50: '#c9a1ee',
    500: '#af7ae6',
    950: '#000000',
  },
}
SCSS
$custom: #af7ae6;
$custom-light: #c9a1ee;
$custom-dark: #000000;
JSON
{
  "hex": "#af7ae6",
  "rgb": {
    "r": 175,
    "g": 122,
    "b": 230
  },
  "hsl": {
    "h": 269.444,
    "s": 68.354,
    "l": 69.02
  },
  "oklch": {
    "l": 0.67693,
    "c": 0.1616,
    "h": 305.1
  },
  "luminance": 0.28746
}

Semantic roles & 50–950 ramp

primary
#AF7AE6
secondary
#DEEECE
accent
#D01574
background
#FCFAFE
surface
#F9F3FD
border
#D2CDD5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AF7AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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