#AF6FF4#AF6FF4

#AF6FF4 is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.8% C 0.195 H 303.8°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#AF6FF4
RGBrgb(175, 111, 244)
HSLhsl(269, 86%, 70%)
HSVhsv(269, 55%, 96%)
CMYKcmyk(28.3%, 54.5%, 0%, 4.3%)
CIE-LABlab(58.99, 50.50, -57.50)
CIE-LCHlch(58.99, 76.52, 311.29°)
OKLaboklab(66.77% 0.1085 -0.1621)
OKLCHoklch(66.77% 0.195 303.8)
XYZxyz(39.6892, 27.0146, 88.6938)
Luminance0.2701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6FF4 #B4F46F
analogous
#6F72F4 #AF6FF4 #F16FF4
triadic
#AF6FF4 #F4AF6F #6FF4AF
tetradic
#AF6FF4 #F46F72 #B4F46F #6FF4F1
square
#AF6FF4 #F46F72 #B4F46F #6FF4F1
split-complementary
#AF6FF4 #F4F16F #72F46F
monochromatic
#7111D8 #8F36F0 #AF6FF4 #CFA8F8 #EEE1FD

Accessibility & contrast

On white

3.28
#AF6FF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#AF6FF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6FF4
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6FF4#FFFFFF#000000##000000
##AF6FF41.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8CF8
Deuteranopia (green-blind)
#548EF1
Tritanopia (blue-blind)
#A388A7
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #af6ff4;
/* rgb */ color: rgb(175, 111, 244);
/* oklch */ color: oklch(66.8% 0.195 303.8);
Tailwind
colors: {
  custom: {
    50: '#ca9af8',
    500: '#af6ff4',
    950: '#000000',
  },
}
SCSS
$custom: #af6ff4;
$custom-light: #ca9af8;
$custom-dark: #000000;
JSON
{
  "hex": "#af6ff4",
  "rgb": {
    "r": 175,
    "g": 111,
    "b": 244
  },
  "hsl": {
    "h": 268.872,
    "s": 85.806,
    "l": 69.608
  },
  "oklch": {
    "l": 0.6677,
    "c": 0.19507,
    "h": 303.8
  },
  "luminance": 0.27014
}

Semantic roles & 50–950 ramp

primary
#AF6FF4
secondary
#E0F2CC
accent
#E20377
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #AF6FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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