#AF75EF#AF75EF

#AF75EF is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.4% C 0.180 H 303.9°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#AF75EF
RGBrgb(175, 117, 239)
HSLhsl(269, 79%, 70%)
HSVhsv(269, 51%, 94%)
CMYKcmyk(26.8%, 51%, 0%, 6.3%)
CIE-LABlab(59.95, 46.12, -53.19)
CIE-LCHlch(59.95, 70.40, 310.93°)
OKLaboklab(67.39% 0.1006 -0.1495)
OKLCHoklch(67.39% 0.18 303.9)
XYZxyz(39.6171, 28.0687, 84.9753)
Luminance0.2807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF75EF #B5EF75
analogous
#7578EF #AF75EF #EC75EF
triadic
#AF75EF #EFAF75 #75EFAF
tetradic
#AF75EF #EF7578 #B5EF75 #75EFEC
square
#AF75EF #EF7578 #B5EF75 #75EFEC
split-complementary
#AF75EF #EFEC75 #78EF75
monochromatic
#7018D1 #8F3EE9 #AF75EF #CFACF5 #EFE3FC

Accessibility & contrast

On white

3.18
#AF75EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#AF75EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF75EF
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF75EF#FFFFFF#000000##000000
##AF75EF1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8FF3
Deuteranopia (green-blind)
#5F90EC
Tritanopia (blue-blind)
#A48BA7
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #af75ef;
/* rgb */ color: rgb(175, 117, 239);
/* oklch */ color: oklch(67.4% 0.180 303.9);
Tailwind
colors: {
  custom: {
    50: '#ca9ef5',
    500: '#af75ef',
    950: '#000000',
  },
}
SCSS
$custom: #af75ef;
$custom-light: #ca9ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#af75ef",
  "rgb": {
    "r": 175,
    "g": 117,
    "b": 239
  },
  "hsl": {
    "h": 268.525,
    "s": 79.221,
    "l": 69.804
  },
  "oklch": {
    "l": 0.67393,
    "c": 0.1802,
    "h": 303.9
  },
  "luminance": 0.28069
}

Semantic roles & 50–950 ramp

primary
#AF75EF
secondary
#E1F1CF
accent
#DC0A78
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #AF75EF

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

Preview Lab → · Contrast checker → · Palette generator →

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