#AF75FE#AF75FE

#AF75FE is a light, vivid violet. Relative luminance 0.290; OKLCH L 68.3% C 0.198 H 300.8°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#AF75FE
RGBrgb(175, 117, 254)
HSLhsl(265, 99%, 73%)
HSVhsv(265, 54%, 100%)
CMYKcmyk(31.1%, 53.9%, 0%, 0.4%)
CIE-LABlab(60.77, 49.69, -60.16)
CIE-LCHlch(60.77, 78.03, 309.55°)
OKLaboklab(68.27% 0.1014 -0.1699)
OKLCHoklch(68.27% 0.198 300.8)
XYZxyz(41.9257, 28.9921, 97.1340)
Luminance0.2899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF75FE #C4FE75
analogous
#7580FE #AF75FE #F375FE
triadic
#AF75FE #FEAF75 #75FEAF
tetradic
#AF75FE #FE7580 #C4FE75 #75FEF3
square
#AF75FE #FE7580 #C4FE75 #75FEF3
split-complementary
#AF75FE #FEF375 #80FE75
monochromatic
#6A02F7 #8C38FE #AF75FE #D2B2FE #EDE1FF

Accessibility & contrast

On white

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

On black

6.80
#AF75FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF75FE
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF75FE#FFFFFF#000000##000000
##AF75FE1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F92FF
Deuteranopia (green-blind)
#5292FB
Tritanopia (blue-blind)
#9F90AF
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #af75fe;
/* rgb */ color: rgb(175, 117, 254);
/* oklch */ color: oklch(68.3% 0.198 300.8);
Tailwind
colors: {
  custom: {
    50: '#cb9eff',
    500: '#af75fe',
    950: '#000000',
  },
}
SCSS
$custom: #af75fe;
$custom-light: #cb9eff;
$custom-dark: #000000;
JSON
{
  "hex": "#af75fe",
  "rgb": {
    "r": 175,
    "g": 117,
    "b": 254
  },
  "hsl": {
    "h": 265.401,
    "s": 98.561,
    "l": 72.745
  },
  "oklch": {
    "l": 0.68268,
    "c": 0.19791,
    "h": 300.8
  },
  "luminance": 0.28992
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF75FE

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

Preview Lab → · Contrast checker → · Palette generator →

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