#AF6FF5#AF6FF5

#AF6FF5 is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.8% C 0.196 H 303.6°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#AF6FF5
RGBrgb(175, 111, 245)
HSLhsl(269, 87%, 70%)
HSVhsv(269, 55%, 96%)
CMYKcmyk(28.6%, 54.7%, 0%, 3.9%)
CIE-LABlab(59.04, 50.73, -57.96)
CIE-LCHlch(59.04, 77.03, 311.20°)
OKLaboklab(66.83% 0.1085 -0.1635)
OKLCHoklch(66.83% 0.196 303.6)
XYZxyz(39.8414, 27.0755, 89.4957)
Luminance0.2707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6FF5 #B5F56F
analogous
#6F72F5 #AF6FF5 #F26FF5
triadic
#AF6FF5 #F5AF6F #6FF5AF
tetradic
#AF6FF5 #F56F72 #B5F56F #6FF5F2
square
#AF6FF5 #F56F72 #B5F56F #6FF5F2
split-complementary
#AF6FF5 #F5F26F #72F56F
monochromatic
#700FDA #8F36F1 #AF6FF5 #CFA8F9 #EFE1FD

Accessibility & contrast

On white

3.27
#AF6FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#AF6FF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6FF5
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6FF5#FFFFFF#000000##000000
##AF6FF51.003.276.416.41
#FFFFFF3.271.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8DF9
Deuteranopia (green-blind)
#538EF2
Tritanopia (blue-blind)
#A289A8
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #af6ff5;
/* rgb */ color: rgb(175, 111, 245);
/* oklch */ color: oklch(66.8% 0.196 303.6);
Tailwind
colors: {
  custom: {
    50: '#ca9af9',
    500: '#af6ff5',
    950: '#000000',
  },
}
SCSS
$custom: #af6ff5;
$custom-light: #ca9af9;
$custom-dark: #000000;
JSON
{
  "hex": "#af6ff5",
  "rgb": {
    "r": 175,
    "g": 111,
    "b": 245
  },
  "hsl": {
    "h": 268.657,
    "s": 87.013,
    "l": 69.804
  },
  "oklch": {
    "l": 0.66829,
    "c": 0.19623,
    "h": 303.6
  },
  "luminance": 0.27075
}

Semantic roles & 50–950 ramp

primary
#AF6FF5
secondary
#E1F3CD
accent
#E40278
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #AF6FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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