#AF75FB#AF75FB

#AF75FB is a light, vivid violet. Relative luminance 0.288; OKLCH L 68.1% C 0.194 H 301.4°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#AF75FB
RGBrgb(175, 117, 251)
HSLhsl(266, 94%, 72%)
HSVhsv(266, 53%, 98%)
CMYKcmyk(30.3%, 53.4%, 0%, 1.6%)
CIE-LABlab(60.61, 48.97, -58.78)
CIE-LCHlch(60.61, 76.50, 309.80°)
OKLaboklab(68.09% 0.1013 -0.1659)
OKLCHoklch(68.09% 0.194 301.4)
XYZxyz(41.4490, 28.8014, 94.6236)
Luminance0.2880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF75FB #C1FB75
analogous
#757EFB #AF75FB #F275FB
triadic
#AF75FB #FBAF75 #75FBAF
tetradic
#AF75FB #FB757E #C1FB75 #75FBF2
square
#AF75FB #FB757E #C1FB75 #75FBF2
split-complementary
#AF75FB #FBF275 #7EFB75
monochromatic
#6B07EF #8D3AF9 #AF75FB #D1B0FD #EEE1FE

Accessibility & contrast

On white

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

On black

6.76
#AF75FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF75FB
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF75FB#FFFFFF#000000##000000
##AF75FB1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4291FF
Deuteranopia (green-blind)
#5592F8
Tritanopia (blue-blind)
#A08FAD
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #af75fb;
/* rgb */ color: rgb(175, 117, 251);
/* oklch */ color: oklch(68.1% 0.194 301.4);
Tailwind
colors: {
  custom: {
    50: '#ca9efd',
    500: '#af75fb',
    950: '#000000',
  },
}
SCSS
$custom: #af75fb;
$custom-light: #ca9efd;
$custom-dark: #000000;
JSON
{
  "hex": "#af75fb",
  "rgb": {
    "r": 175,
    "g": 117,
    "b": 251
  },
  "hsl": {
    "h": 265.97,
    "s": 94.366,
    "l": 72.157
  },
  "oklch": {
    "l": 0.68089,
    "c": 0.19438,
    "h": 301.4
  },
  "luminance": 0.28802
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF75FB

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

Preview Lab → · Contrast checker → · Palette generator →

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