#AF68EB#AF68EB

#AF68EB is a light, vivid violet. Relative luminance 0.250; OKLCH L 65.2% C 0.195 H 306.8°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#AF68EB
RGBrgb(175, 104, 235)
HSLhsl(273, 77%, 66%)
HSVhsv(273, 56%, 92%)
CMYKcmyk(25.5%, 55.7%, 0%, 7.8%)
CIE-LABlab(57.09, 52.08, -55.52)
CIE-LCHlch(57.09, 76.13, 313.17°)
OKLaboklab(65.21% 0.117 -0.1563)
OKLCHoklch(65.21% 0.195 306.8)
XYZxyz(37.6218, 25.0131, 81.4272)
Luminance0.2501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF68EB #A4EB68
analogous
#6E68EB #AF68EB #EB68E6
triadic
#AF68EB #EBAF68 #68EBAF
tetradic
#AF68EB #EB6E68 #A4EB68 #68E6EB
square
#AF68EB #EB6E68 #A4EB68 #68E6EB
split-complementary
#AF68EB #E6EB68 #68EB6E
monochromatic
#7319BF #9232E4 #AF68EB #CC9EF2 #E8D4F9

Accessibility & contrast

On white

3.50
#AF68EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#AF68EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF68EB
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF68EB#FFFFFF#000000##000000
##AF68EB1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3987EF
Deuteranopia (green-blind)
#538AE8
Tritanopia (blue-blind)
#A681A0
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #af68eb;
/* rgb */ color: rgb(175, 104, 235);
/* oklch */ color: oklch(65.2% 0.195 306.8);
Tailwind
colors: {
  custom: {
    50: '#ca96f2',
    500: '#af68eb',
    950: '#000000',
  },
}
SCSS
$custom: #af68eb;
$custom-light: #ca96f2;
$custom-dark: #000000;
JSON
{
  "hex": "#af68eb",
  "rgb": {
    "r": 175,
    "g": 104,
    "b": 235
  },
  "hsl": {
    "h": 272.519,
    "s": 76.608,
    "l": 66.471
  },
  "oklch": {
    "l": 0.6521,
    "c": 0.19523,
    "h": 306.8
  },
  "luminance": 0.25013
}

Semantic roles & 50–950 ramp

primary
#AF68EB
secondary
#D6EDC2
accent
#D90D6A
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF68EB

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

Preview Lab → · Contrast checker → · Palette generator →

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