#AF68EE#AF68EE

#AF68EE is a light, vivid violet. Relative luminance 0.252; OKLCH L 65.4% C 0.199 H 306.1°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#AF68EE
RGBrgb(175, 104, 238)
HSLhsl(272, 80%, 67%)
HSVhsv(272, 56%, 93%)
CMYKcmyk(26.5%, 56.3%, 0%, 6.7%)
CIE-LABlab(57.26, 52.76, -56.93)
CIE-LCHlch(57.26, 77.62, 312.83°)
OKLaboklab(65.39% 0.117 -0.1604)
OKLCHoklch(65.39% 0.199 306.1)
XYZxyz(38.0589, 25.1880, 83.7291)
Luminance0.2519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF68EE #A7EE68
analogous
#6C68EE #AF68EE #EE68EA
triadic
#AF68EE #EEAF68 #68EEAF
tetradic
#AF68EE #EE6C68 #A7EE68 #68EAEE
square
#AF68EE #EE6C68 #A7EE68 #68EAEE
split-complementary
#AF68EE #EAEE68 #68EE6C
monochromatic
#7316C5 #9231E8 #AF68EE #CC9FF4 #E9D6FA

Accessibility & contrast

On white

3.48
#AF68EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#AF68EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF68EE
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF68EE#FFFFFF#000000##000000
##AF68EE1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3587F2
Deuteranopia (green-blind)
#518AEB
Tritanopia (blue-blind)
#A582A1
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #af68ee;
/* rgb */ color: rgb(175, 104, 238);
/* oklch */ color: oklch(65.4% 0.199 306.1);
Tailwind
colors: {
  custom: {
    50: '#ca96f4',
    500: '#af68ee',
    950: '#000000',
  },
}
SCSS
$custom: #af68ee;
$custom-light: #ca96f4;
$custom-dark: #000000;
JSON
{
  "hex": "#af68ee",
  "rgb": {
    "r": 175,
    "g": 104,
    "b": 238
  },
  "hsl": {
    "h": 271.791,
    "s": 79.762,
    "l": 67.059
  },
  "oklch": {
    "l": 0.65389,
    "c": 0.19858,
    "h": 306.1
  },
  "luminance": 0.25188
}

Semantic roles & 50–950 ramp

primary
#AF68EE
secondary
#D8EEC4
accent
#DC096C
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF68EE

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

Preview Lab → · Contrast checker → · Palette generator →

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