#AF75EB#AF75EB

#AF75EB is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.2% C 0.175 H 304.8°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#AF75EB
RGBrgb(175, 117, 235)
HSLhsl(269, 75%, 69%)
HSVhsv(269, 50%, 92%)
CMYKcmyk(25.5%, 50.2%, 0%, 7.8%)
CIE-LABlab(59.74, 45.19, -51.30)
CIE-LCHlch(59.74, 68.36, 311.37°)
OKLaboklab(67.17% 0.1002 -0.144)
OKLCHoklch(67.17% 0.175 304.8)
XYZxyz(39.0327, 27.8349, 81.8975)
Luminance0.2783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF75EB #B1EB75
analogous
#7576EB #AF75EB #EA75EB
triadic
#AF75EB #EBAF75 #75EBAF
tetradic
#AF75EB #EB7576 #B1EB75 #75EBEA
square
#AF75EB #EB7576 #B1EB75 #75EBEA
split-complementary
#AF75EB #EBEA75 #76EB75
monochromatic
#711DC9 #9040E3 #AF75EB #CEAAF3 #EDE0FA

Accessibility & contrast

On white

3.20
#AF75EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#AF75EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF75EB
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF75EB#FFFFFF#000000##000000
##AF75EB1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#518EEF
Deuteranopia (green-blind)
#6290E8
Tritanopia (blue-blind)
#A58AA5
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #af75eb;
/* rgb */ color: rgb(175, 117, 235);
/* oklch */ color: oklch(67.2% 0.175 304.8);
Tailwind
colors: {
  custom: {
    50: '#c99ef2',
    500: '#af75eb',
    950: '#000000',
  },
}
SCSS
$custom: #af75eb;
$custom-light: #c99ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#af75eb",
  "rgb": {
    "r": 175,
    "g": 117,
    "b": 235
  },
  "hsl": {
    "h": 269.492,
    "s": 74.684,
    "l": 69.02
  },
  "oklch": {
    "l": 0.67167,
    "c": 0.17547,
    "h": 304.8
  },
  "luminance": 0.27835
}

Semantic roles & 50–950 ramp

primary
#AF75EB
secondary
#DEEFCD
accent
#D70F74
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AF75EB

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

Preview Lab → · Contrast checker → · Palette generator →

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