#AF75FF#AF75FF

#AF75FF is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.3% C 0.199 H 300.6°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#AF75FF
RGBrgb(175, 117, 255)
HSLhsl(265, 100%, 73%)
HSVhsv(265, 54%, 100%)
CMYKcmyk(31.4%, 54.1%, 0%, 0%)
CIE-LABlab(60.83, 49.93, -60.62)
CIE-LCHlch(60.83, 78.53, 309.48°)
OKLaboklab(68.33% 0.1015 -0.1713)
OKLCHoklch(68.33% 0.199 300.6)
XYZxyz(42.0862, 29.0563, 97.9795)
Luminance0.2906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF75FF #C5FF75
analogous
#7580FF #AF75FF #F475FF
triadic
#AF75FF #FFAF75 #75FFAF
tetradic
#AF75FF #FF7580 #C5FF75 #75FFF4
square
#AF75FF #FF7580 #C5FF75 #75FFF4
split-complementary
#AF75FF #FFF475 #80FF75
monochromatic
#6900FA #8C38FF #AF75FF #D2B2FF #EDE0FF

Accessibility & contrast

On white

3.08
#AF75FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#AF75FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF75FF
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF75FF#FFFFFF#000000##000000
##AF75FF1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E92FF
Deuteranopia (green-blind)
#5192FC
Tritanopia (blue-blind)
#9F90AF
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #af75ff;
/* rgb */ color: rgb(175, 117, 255);
/* oklch */ color: oklch(68.3% 0.199 300.6);
Tailwind
colors: {
  custom: {
    50: '#cb9eff',
    500: '#af75ff',
    950: '#000000',
  },
}
SCSS
$custom: #af75ff;
$custom-light: #cb9eff;
$custom-dark: #000000;
JSON
{
  "hex": "#af75ff",
  "rgb": {
    "r": 175,
    "g": 117,
    "b": 255
  },
  "hsl": {
    "h": 265.217,
    "s": 100,
    "l": 72.941
  },
  "oklch": {
    "l": 0.68328,
    "c": 0.19909,
    "h": 300.6
  },
  "luminance": 0.29057
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF75FF

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

Preview Lab → · Contrast checker → · Palette generator →

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