#AF75EA#AF75EA

#AF75EA is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.1% C 0.174 H 305.1°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#AF75EA
RGBrgb(175, 117, 234)
HSLhsl(270, 74%, 69%)
HSVhsv(270, 50%, 92%)
CMYKcmyk(25.2%, 50%, 0%, 8.2%)
CIE-LABlab(59.69, 44.95, -50.83)
CIE-LCHlch(59.69, 67.86, 311.49°)
OKLaboklab(67.11% 0.1001 -0.1426)
OKLCHoklch(67.11% 0.174 305.1)
XYZxyz(38.8886, 27.7773, 81.1388)
Luminance0.2778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF75EA #B0EA75
analogous
#7576EA #AF75EA #EA75EA
triadic
#AF75EA #EAAF75 #75EAAF
tetradic
#AF75EA #EA7576 #B0EA75 #75EAEA
square
#AF75EA #EA7576 #B0EA75 #75EAEA
split-complementary
#AF75EA #EAEA75 #76EA75
monochromatic
#721EC6 #9040E2 #AF75EA #CEAAF2 #EDDFFA

Accessibility & contrast

On white

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

On black

6.56
#AF75EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF75EA
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF75EA#FFFFFF#000000##000000
##AF75EA1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#528EEE
Deuteranopia (green-blind)
#6290E7
Tritanopia (blue-blind)
#A58AA5
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #af75ea;
/* rgb */ color: rgb(175, 117, 234);
/* oklch */ color: oklch(67.1% 0.174 305.1);
Tailwind
colors: {
  custom: {
    50: '#c99ef1',
    500: '#af75ea',
    950: '#000000',
  },
}
SCSS
$custom: #af75ea;
$custom-light: #c99ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#af75ea",
  "rgb": {
    "r": 175,
    "g": 117,
    "b": 234
  },
  "hsl": {
    "h": 269.744,
    "s": 73.585,
    "l": 68.824
  },
  "oklch": {
    "l": 0.67111,
    "c": 0.17428,
    "h": 305.1
  },
  "luminance": 0.27777
}

Semantic roles & 50–950 ramp

primary
#AF75EA
secondary
#DEEFCC
accent
#D61074
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AF75EA

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

Preview Lab → · Contrast checker → · Palette generator →

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