#AF75F7#AF75F7

#AF75F7 is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.9% C 0.190 H 302.2°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#AF75F7
RGBrgb(175, 117, 247)
HSLhsl(267, 89%, 71%)
HSVhsv(267, 53%, 97%)
CMYKcmyk(29.1%, 52.6%, 0%, 3.1%)
CIE-LABlab(60.38, 48.01, -56.93)
CIE-LCHlch(60.38, 74.47, 310.14°)
OKLaboklab(67.85% 0.1011 -0.1605)
OKLCHoklch(67.85% 0.19 302.2)
XYZxyz(40.8252, 28.5519, 91.3379)
Luminance0.2855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF75F7 #BDF775
analogous
#757CF7 #AF75F7 #F075F7
triadic
#AF75F7 #F7AF75 #75F7AF
tetradic
#AF75F7 #F7757C #BDF775 #75F7F0
square
#AF75F7 #F7757C #BDF775 #75F7F0
split-complementary
#AF75F7 #F7F075 #7CF775
monochromatic
#6D0DE4 #8D3BF4 #AF75F7 #D1AFFA #EEE2FD

Accessibility & contrast

On white

3.13
#AF75F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#AF75F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF75F7
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF75F7#FFFFFF#000000##000000
##AF75F71.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4691FB
Deuteranopia (green-blind)
#5891F4
Tritanopia (blue-blind)
#A18EAB
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #af75f7;
/* rgb */ color: rgb(175, 117, 247);
/* oklch */ color: oklch(67.9% 0.190 302.2);
Tailwind
colors: {
  custom: {
    50: '#ca9efa',
    500: '#af75f7',
    950: '#000000',
  },
}
SCSS
$custom: #af75f7;
$custom-light: #ca9efa;
$custom-dark: #000000;
JSON
{
  "hex": "#af75f7",
  "rgb": {
    "r": 175,
    "g": 117,
    "b": 247
  },
  "hsl": {
    "h": 266.769,
    "s": 89.041,
    "l": 71.373
  },
  "oklch": {
    "l": 0.67854,
    "c": 0.18966,
    "h": 302.2
  },
  "luminance": 0.28552
}

Semantic roles & 50–950 ramp

primary
#AF75F7
secondary
#E6F5D3
accent
#E6007F
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #AF75F7

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

Preview Lab → · Contrast checker → · Palette generator →

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