#AF75EE#AF75EE

#AF75EE is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.3% C 0.179 H 304.1°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#AF75EE
RGBrgb(175, 117, 238)
HSLhsl(269, 78%, 70%)
HSVhsv(269, 51%, 93%)
CMYKcmyk(26.5%, 50.8%, 0%, 6.7%)
CIE-LABlab(59.90, 45.89, -52.72)
CIE-LCHlch(59.90, 69.89, 311.04°)
OKLaboklab(67.34% 0.1005 -0.1482)
OKLCHoklch(67.34% 0.179 304.1)
XYZxyz(39.4698, 28.0097, 84.1994)
Luminance0.2801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF75EE #B4EE75
analogous
#7578EE #AF75EE #EB75EE
triadic
#AF75EE #EEAF75 #75EEAF
tetradic
#AF75EE #EE7578 #B4EE75 #75EEEB
square
#AF75EE #EE7578 #B4EE75 #75EEEB
split-complementary
#AF75EE #EEEB75 #78EE75
monochromatic
#711ACF #8F3FE7 #AF75EE #CFABF5 #EEE2FB

Accessibility & contrast

On white

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

On black

6.60
#AF75EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF75EE
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF75EE#FFFFFF#000000##000000
##AF75EE1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af75ee;
/* rgb */ color: rgb(175, 117, 238);
/* oklch */ color: oklch(67.3% 0.179 304.1);
Tailwind
colors: {
  custom: {
    50: '#ca9ef4',
    500: '#af75ee',
    950: '#000000',
  },
}
SCSS
$custom: #af75ee;
$custom-light: #ca9ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#af75ee",
  "rgb": {
    "r": 175,
    "g": 117,
    "b": 238
  },
  "hsl": {
    "h": 268.76,
    "s": 78.065,
    "l": 69.608
  },
  "oklch": {
    "l": 0.67336,
    "c": 0.17901,
    "h": 304.1
  },
  "luminance": 0.2801
}

Semantic roles & 50–950 ramp

primary
#AF75EE
secondary
#E0F1CE
accent
#DA0B77
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AF75EE

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

Preview Lab → · Contrast checker → · Palette generator →

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