#AF6AF4#AF6AF4

#AF6AF4 is a light, highly saturated violet. Relative luminance 0.260; OKLCH L 66.0% C 0.202 H 304.5°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#AF6AF4
RGBrgb(175, 106, 244)
HSLhsl(270, 86%, 69%)
HSVhsv(270, 57%, 96%)
CMYKcmyk(28.3%, 56.6%, 0%, 4.3%)
CIE-LABlab(57.99, 53.11, -59.09)
CIE-LCHlch(57.99, 79.45, 311.95°)
OKLaboklab(66.04% 0.1147 -0.1668)
OKLCHoklch(66.04% 0.202 304.5)
XYZxyz(39.1588, 25.9539, 88.5170)
Luminance0.2595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6AF4 #AFF46A
analogous
#6A6AF4 #AF6AF4 #F46AF4
triadic
#AF6AF4 #F4AF6A #6AF4AF
tetradic
#AF6AF4 #F46A6A #AFF46A #6AF4F4
square
#AF6AF4 #F46A6A #AFF46A #6AF4F4
split-complementary
#AF6AF4 #F4F46A #6AF46A
monochromatic
#7210D4 #9031F0 #AF6AF4 #CEA3F8 #ECDCFC

Accessibility & contrast

On white

3.39
#AF6AF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#AF6AF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6AF4
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6AF4#FFFFFF#000000##000000
##AF6AF41.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#328AF9
Deuteranopia (green-blind)
#4E8BF1
Tritanopia (blue-blind)
#A385A5
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #af6af4;
/* rgb */ color: rgb(175, 106, 244);
/* oklch */ color: oklch(66.0% 0.202 304.5);
Tailwind
colors: {
  custom: {
    50: '#ca97f8',
    500: '#af6af4',
    950: '#000000',
  },
}
SCSS
$custom: #af6af4;
$custom-light: #ca97f8;
$custom-dark: #000000;
JSON
{
  "hex": "#af6af4",
  "rgb": {
    "r": 175,
    "g": 106,
    "b": 244
  },
  "hsl": {
    "h": 270,
    "s": 86.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.66039,
    "c": 0.20239,
    "h": 304.5
  },
  "luminance": 0.25954
}

Semantic roles & 50–950 ramp

primary
#AF6AF4
secondary
#DDF1C8
accent
#E30373
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #AF6AF4

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

Preview Lab → · Contrast checker → · Palette generator →

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