#AF68E8#AF68E8

#AF68E8 is a light, vivid violet. Relative luminance 0.248; OKLCH L 65.0% C 0.192 H 307.5°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#AF68E8
RGBrgb(175, 104, 232)
HSLhsl(273, 74%, 66%)
HSVhsv(273, 55%, 91%)
CMYKcmyk(24.6%, 55.2%, 0%, 9%)
CIE-LABlab(56.92, 51.40, -54.11)
CIE-LCHlch(56.92, 74.64, 313.53°)
OKLaboklab(65.03% 0.1168 -0.1522)
OKLCHoklch(65.03% 0.192 307.5)
XYZxyz(37.1920, 24.8412, 79.1638)
Luminance0.2484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF68E8 #A1E868
analogous
#6F68E8 #AF68E8 #E868E1
triadic
#AF68E8 #E8AF68 #68E8AF
tetradic
#AF68E8 #E86F68 #A1E868 #68E1E8
square
#AF68E8 #E86F68 #A1E868 #68E1E8
split-complementary
#AF68E8 #E1E868 #68E86F
monochromatic
#731CB9 #9333E0 #AF68E8 #CB9DF0 #E7D2F8

Accessibility & contrast

On white

3.52
#AF68E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#AF68E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF68E8
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF68E8#FFFFFF#000000##000000
##AF68E81.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C86EC
Deuteranopia (green-blind)
#5689E5
Tritanopia (blue-blind)
#A6809E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #af68e8;
/* rgb */ color: rgb(175, 104, 232);
/* oklch */ color: oklch(65.0% 0.192 307.5);
Tailwind
colors: {
  custom: {
    50: '#ca96f0',
    500: '#af68e8',
    950: '#000000',
  },
}
SCSS
$custom: #af68e8;
$custom-light: #ca96f0;
$custom-dark: #000000;
JSON
{
  "hex": "#af68e8",
  "rgb": {
    "r": 175,
    "g": 104,
    "b": 232
  },
  "hsl": {
    "h": 273.281,
    "s": 73.563,
    "l": 65.882
  },
  "oklch": {
    "l": 0.65033,
    "c": 0.19188,
    "h": 307.5
  },
  "luminance": 0.24841
}

Semantic roles & 50–950 ramp

primary
#AF68E8
secondary
#D4EBC1
accent
#D61068
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF68E8

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

Preview Lab → · Contrast checker → · Palette generator →

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