#AF68EF#AF68EF

#AF68EF is a light, vivid violet. Relative luminance 0.252; OKLCH L 65.5% C 0.200 H 305.9°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#AF68EF
RGBrgb(175, 104, 239)
HSLhsl(272, 81%, 67%)
HSVhsv(272, 56%, 94%)
CMYKcmyk(26.8%, 56.5%, 0%, 6.3%)
CIE-LABlab(57.32, 52.99, -57.39)
CIE-LCHlch(57.32, 78.12, 312.72°)
OKLaboklab(65.45% 0.117 -0.1618)
OKLCHoklch(65.45% 0.2 305.9)
XYZxyz(38.2062, 25.2469, 84.5050)
Luminance0.2525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF68EF #A8EF68
analogous
#6C68EF #AF68EF #EF68EB
triadic
#AF68EF #EFAF68 #68EFAF
tetradic
#AF68EF #EF6C68 #A8EF68 #68EBEF
square
#AF68EF #EF6C68 #A8EF68 #68EBEF
split-complementary
#AF68EF #EBEF68 #68EF6C
monochromatic
#7315C7 #9231E9 #AF68EF #CC9FF5 #EAD7FB

Accessibility & contrast

On white

3.47
#AF68EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#AF68EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF68EF
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF68EF#FFFFFF#000000##000000
##AF68EF1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3487F3
Deuteranopia (green-blind)
#508AEC
Tritanopia (blue-blind)
#A482A2
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #af68ef;
/* rgb */ color: rgb(175, 104, 239);
/* oklch */ color: oklch(65.5% 0.200 305.9);
Tailwind
colors: {
  custom: {
    50: '#ca96f5',
    500: '#af68ef',
    950: '#000000',
  },
}
SCSS
$custom: #af68ef;
$custom-light: #ca96f5;
$custom-dark: #000000;
JSON
{
  "hex": "#af68ef",
  "rgb": {
    "r": 175,
    "g": 104,
    "b": 239
  },
  "hsl": {
    "h": 271.556,
    "s": 80.838,
    "l": 67.255
  },
  "oklch": {
    "l": 0.6545,
    "c": 0.19969,
    "h": 305.9
  },
  "luminance": 0.25247
}

Semantic roles & 50–950 ramp

primary
#AF68EF
secondary
#D8EFC4
accent
#DD086D
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140E17
muted
#827E85

Preview Lab

Preview with #AF68EF

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

Preview Lab → · Contrast checker → · Palette generator →

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