#AF75FA#AF75FA

#AF75FA is a light, vivid violet. Relative luminance 0.287; OKLCH L 68.0% C 0.193 H 301.6°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#AF75FA
RGBrgb(175, 117, 250)
HSLhsl(266, 93%, 72%)
HSVhsv(266, 53%, 98%)
CMYKcmyk(30%, 53.2%, 0%, 2%)
CIE-LABlab(60.55, 48.73, -58.32)
CIE-LCHlch(60.55, 75.99, 309.88°)
OKLaboklab(68.03% 0.1012 -0.1645)
OKLCHoklch(68.03% 0.193 301.6)
XYZxyz(41.2918, 28.7386, 93.7957)
Luminance0.2874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF75FA #C0FA75
analogous
#757EFA #AF75FA #F175FA
triadic
#AF75FA #FAAF75 #75FAAF
tetradic
#AF75FA #FA757E #C0FA75 #75FAF1
square
#AF75FA #FA757E #C0FA75 #75FAF1
split-complementary
#AF75FA #FAF175 #7EFA75
monochromatic
#6C09EC #8D3AF8 #AF75FA #D1B0FC #EEE1FE

Accessibility & contrast

On white

3.11
#AF75FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#AF75FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF75FA
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF75FA#FFFFFF#000000##000000
##AF75FA1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4391FE
Deuteranopia (green-blind)
#5691F7
Tritanopia (blue-blind)
#A08FAD
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #af75fa;
/* rgb */ color: rgb(175, 117, 250);
/* oklch */ color: oklch(68.0% 0.193 301.6);
Tailwind
colors: {
  custom: {
    50: '#ca9efc',
    500: '#af75fa',
    950: '#000000',
  },
}
SCSS
$custom: #af75fa;
$custom-light: #ca9efc;
$custom-dark: #000000;
JSON
{
  "hex": "#af75fa",
  "rgb": {
    "r": 175,
    "g": 117,
    "b": 250
  },
  "hsl": {
    "h": 266.165,
    "s": 93.007,
    "l": 71.961
  },
  "oklch": {
    "l": 0.6803,
    "c": 0.19319,
    "h": 301.6
  },
  "luminance": 0.28739
}

Semantic roles & 50–950 ramp

primary
#AF75FA
secondary
#E8F6D5
accent
#E60081
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AF75FA

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

Preview Lab → · Contrast checker → · Palette generator →

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