#AF68ED#AF68ED

#AF68ED is a light, vivid violet. Relative luminance 0.251; OKLCH L 65.3% C 0.197 H 306.3°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#AF68ED
RGBrgb(175, 104, 237)
HSLhsl(272, 79%, 67%)
HSVhsv(272, 56%, 93%)
CMYKcmyk(26.2%, 56.1%, 0%, 7.1%)
CIE-LABlab(57.20, 52.54, -56.46)
CIE-LCHlch(57.20, 77.12, 312.94°)
OKLaboklab(65.33% 0.117 -0.1591)
OKLCHoklch(65.33% 0.197 306.3)
XYZxyz(37.9124, 25.1294, 82.9575)
Luminance0.2513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF68ED #A6ED68
analogous
#6D68ED #AF68ED #ED68E9
triadic
#AF68ED #EDAF68 #68EDAF
tetradic
#AF68ED #ED6D68 #A6ED68 #68E9ED
square
#AF68ED #ED6D68 #A6ED68 #68E9ED
split-complementary
#AF68ED #E9ED68 #68ED6D
monochromatic
#7317C3 #9231E6 #AF68ED #CC9FF4 #E9D5FA

Accessibility & contrast

On white

3.49
#AF68ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#AF68ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF68ED
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF68ED#FFFFFF#000000##000000
##AF68ED1.003.496.036.03
#FFFFFF3.491.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3687F1
Deuteranopia (green-blind)
#528AEA
Tritanopia (blue-blind)
#A581A1
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #af68ed;
/* rgb */ color: rgb(175, 104, 237);
/* oklch */ color: oklch(65.3% 0.197 306.3);
Tailwind
colors: {
  custom: {
    50: '#ca96f3',
    500: '#af68ed',
    950: '#000000',
  },
}
SCSS
$custom: #af68ed;
$custom-light: #ca96f3;
$custom-dark: #000000;
JSON
{
  "hex": "#af68ed",
  "rgb": {
    "r": 175,
    "g": 104,
    "b": 237
  },
  "hsl": {
    "h": 272.03,
    "s": 78.698,
    "l": 66.863
  },
  "oklch": {
    "l": 0.65329,
    "c": 0.19746,
    "h": 306.3
  },
  "luminance": 0.25129
}

Semantic roles & 50–950 ramp

primary
#AF68ED
secondary
#D7EEC3
accent
#DB0B6C
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF68ED

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

Preview Lab → · Contrast checker → · Palette generator →

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