#AF6EF4#AF6EF4

#AF6EF4 is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.6% C 0.197 H 303.9°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#AF6EF4
RGBrgb(175, 110, 244)
HSLhsl(269, 86%, 69%)
HSVhsv(269, 55%, 96%)
CMYKcmyk(28.3%, 54.9%, 0%, 4.3%)
CIE-LABlab(58.79, 51.02, -57.82)
CIE-LCHlch(58.79, 77.11, 311.43°)
OKLaboklab(66.62% 0.1097 -0.1631)
OKLCHoklch(66.62% 0.197 303.9)
XYZxyz(39.5807, 26.7976, 88.6577)
Luminance0.2680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6EF4 #B3F46E
analogous
#6E70F4 #AF6EF4 #F26EF4
triadic
#AF6EF4 #F4AF6E #6EF4AF
tetradic
#AF6EF4 #F46E70 #B3F46E #6EF4F2
square
#AF6EF4 #F46E70 #B3F46E #6EF4F2
split-complementary
#AF6EF4 #F4F26E #70F46E
monochromatic
#7110D7 #9035F0 #AF6EF4 #CEA7F8 #EEE0FD

Accessibility & contrast

On white

3.30
#AF6EF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#AF6EF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6EF4
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6EF4#FFFFFF#000000##000000
##AF6EF41.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8CF8
Deuteranopia (green-blind)
#528DF1
Tritanopia (blue-blind)
#A388A7
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #af6ef4;
/* rgb */ color: rgb(175, 110, 244);
/* oklch */ color: oklch(66.6% 0.197 303.9);
Tailwind
colors: {
  custom: {
    50: '#ca9af8',
    500: '#af6ef4',
    950: '#000000',
  },
}
SCSS
$custom: #af6ef4;
$custom-light: #ca9af8;
$custom-dark: #000000;
JSON
{
  "hex": "#af6ef4",
  "rgb": {
    "r": 175,
    "g": 110,
    "b": 244
  },
  "hsl": {
    "h": 269.104,
    "s": 85.897,
    "l": 69.412
  },
  "oklch": {
    "l": 0.66621,
    "c": 0.19655,
    "h": 303.9
  },
  "luminance": 0.26797
}

Semantic roles & 50–950 ramp

primary
#AF6EF4
secondary
#DFF2CC
accent
#E20376
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #AF6EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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