#AF68FF#AF68FF

#AF68FF is a light, highly saturated violet. Relative luminance 0.262; OKLCH L 66.4% C 0.218 H 302.5°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#AF68FF
RGBrgb(175, 104, 255)
HSLhsl(268, 100%, 70%)
HSVhsv(268, 59%, 100%)
CMYKcmyk(31.4%, 59.2%, 0%, 0%)
CIE-LABlab(58.26, 56.71, -64.75)
CIE-LCHlch(58.26, 86.07, 311.21°)
OKLaboklab(66.44% 0.117 -0.1834)
OKLCHoklch(66.44% 0.218 302.5)
XYZxyz(40.6753, 26.2346, 97.5092)
Luminance0.2624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF68FF #B8FF68
analogous
#686CFF #AF68FF #FB68FF
triadic
#AF68FF #FFAF68 #68FFAF
tetradic
#AF68FF #FF686C #B8FF68 #68FFFB
square
#AF68FF #FF686C #B8FF68 #68FFFB
split-complementary
#AF68FF #FFFB68 #6CFF68
monochromatic
#6F00ED #8F2BFF #AF68FF #CFA5FF #EFE0FF

Accessibility & contrast

On white

3.36
#AF68FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#AF68FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF68FF
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF68FF#FFFFFF#000000##000000
##AF68FF1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#128BFF
Deuteranopia (green-blind)
#3E8CFC
Tritanopia (blue-blind)
#9F87AA
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #af68ff;
/* rgb */ color: rgb(175, 104, 255);
/* oklch */ color: oklch(66.4% 0.218 302.5);
Tailwind
colors: {
  custom: {
    50: '#cb96ff',
    500: '#af68ff',
    950: '#000000',
  },
}
SCSS
$custom: #af68ff;
$custom-light: #cb96ff;
$custom-dark: #000000;
JSON
{
  "hex": "#af68ff",
  "rgb": {
    "r": 175,
    "g": 104,
    "b": 255
  },
  "hsl": {
    "h": 268.212,
    "s": 100,
    "l": 70.392
  },
  "oklch": {
    "l": 0.66442,
    "c": 0.21752,
    "h": 302.5
  },
  "luminance": 0.26235
}

Semantic roles & 50–950 ramp

primary
#AF68FF
secondary
#E3F6CD
accent
#E6007A
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AF68FF

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

Preview Lab → · Contrast checker → · Palette generator →

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