#AF68F8#AF68F8

#AF68F8 is a light, highly saturated violet. Relative luminance 0.258; OKLCH L 66.0% C 0.210 H 303.9°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#AF68F8
RGBrgb(175, 104, 248)
HSLhsl(270, 91%, 69%)
HSVhsv(270, 58%, 97%)
CMYKcmyk(29.4%, 58.1%, 0%, 2.7%)
CIE-LABlab(57.84, 55.07, -61.55)
CIE-LCHlch(57.84, 82.59, 311.82°)
OKLaboklab(66% 0.1171 -0.174)
OKLCHoklch(66% 0.21 303.9)
XYZxyz(39.5690, 25.7920, 91.6825)
Luminance0.2579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF68F8 #B1F868
analogous
#6869F8 #AF68F8 #F768F8
triadic
#AF68F8 #F8AF68 #68F8AF
tetradic
#AF68F8 #F86869 #B1F868 #68F8F7
square
#AF68F8 #F86869 #B1F868 #68F8F7
split-complementary
#AF68F8 #F8F768 #69F868
monochromatic
#710ADB #902EF5 #AF68F8 #CEA2FB #EDDDFD

Accessibility & contrast

On white

3.41
#AF68F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#AF68F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF68F8
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF68F8#FFFFFF#000000##000000
##AF68F81.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2589FD
Deuteranopia (green-blind)
#478BF5
Tritanopia (blue-blind)
#A285A6
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #af68f8;
/* rgb */ color: rgb(175, 104, 248);
/* oklch */ color: oklch(66.0% 0.210 303.9);
Tailwind
colors: {
  custom: {
    50: '#cb96fb',
    500: '#af68f8',
    950: '#000000',
  },
}
SCSS
$custom: #af68f8;
$custom-light: #cb96fb;
$custom-dark: #000000;
JSON
{
  "hex": "#af68f8",
  "rgb": {
    "r": 175,
    "g": 104,
    "b": 248
  },
  "hsl": {
    "h": 269.583,
    "s": 91.139,
    "l": 69.02
  },
  "oklch": {
    "l": 0.66001,
    "c": 0.20973,
    "h": 303.9
  },
  "luminance": 0.25792
}

Semantic roles & 50–950 ramp

primary
#AF68F8
secondary
#DEF3C9
accent
#E60074
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #AF68F8

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

Preview Lab → · Contrast checker → · Palette generator →

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