#AF75FD#AF75FD

#AF75FD is a light, vivid violet. Relative luminance 0.289; OKLCH L 68.2% C 0.197 H 301.0°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#AF75FD
RGBrgb(175, 117, 253)
HSLhsl(266, 97%, 73%)
HSVhsv(266, 54%, 99%)
CMYKcmyk(30.8%, 53.8%, 0%, 0.8%)
CIE-LABlab(60.72, 49.45, -59.70)
CIE-LCHlch(60.72, 77.52, 309.63°)
OKLaboklab(68.21% 0.1014 -0.1686)
OKLCHoklch(68.21% 0.197 301)
XYZxyz(41.7660, 28.9282, 96.2928)
Luminance0.2893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF75FD #C3FD75
analogous
#757FFD #AF75FD #F375FD
triadic
#AF75FD #FDAF75 #75FDAF
tetradic
#AF75FD #FD757F #C3FD75 #75FDF3
square
#AF75FD #FD757F #C3FD75 #75FDF3
split-complementary
#AF75FD #FDF375 #7FFD75
monochromatic
#6A04F4 #8C39FC #AF75FD #D2B1FE #EEE1FF

Accessibility & contrast

On white

3.09
#AF75FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#AF75FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF75FD
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF75FD#FFFFFF#000000##000000
##AF75FD1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4092FF
Deuteranopia (green-blind)
#5392FA
Tritanopia (blue-blind)
#9F90AE
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #af75fd;
/* rgb */ color: rgb(175, 117, 253);
/* oklch */ color: oklch(68.2% 0.197 301.0);
Tailwind
colors: {
  custom: {
    50: '#cb9eff',
    500: '#af75fd',
    950: '#000000',
  },
}
SCSS
$custom: #af75fd;
$custom-light: #cb9eff;
$custom-dark: #000000;
JSON
{
  "hex": "#af75fd",
  "rgb": {
    "r": 175,
    "g": 117,
    "b": 253
  },
  "hsl": {
    "h": 265.588,
    "s": 97.143,
    "l": 72.549
  },
  "oklch": {
    "l": 0.68208,
    "c": 0.19673,
    "h": 301
  },
  "luminance": 0.28928
}

Semantic roles & 50–950 ramp

primary
#AF75FD
secondary
#E8F7D4
accent
#E60084
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AF75FD

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

Preview Lab → · Contrast checker → · Palette generator →

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