#AF68F5#AF68F5

#AF68F5 is a light, highly saturated violet. Relative luminance 0.256; OKLCH L 65.8% C 0.206 H 304.6°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#AF68F5
RGBrgb(175, 104, 245)
HSLhsl(270, 88%, 68%)
HSVhsv(270, 58%, 96%)
CMYKcmyk(28.6%, 57.6%, 0%, 3.9%)
CIE-LABlab(57.66, 54.38, -60.17)
CIE-LCHlch(57.66, 81.10, 312.10°)
OKLaboklab(65.82% 0.1171 -0.1699)
OKLCHoklch(65.82% 0.206 304.6)
XYZxyz(39.1073, 25.6073, 89.2510)
Luminance0.2561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF68F5 #AEF568
analogous
#6868F5 #AF68F5 #F568F4
triadic
#AF68F5 #F5AF68 #68F5AF
tetradic
#AF68F5 #F56868 #AEF568 #68F4F5
square
#AF68F5 #F56868 #AEF568 #68F4F5
split-complementary
#AF68F5 #F4F568 #68F568
monochromatic
#720ED5 #912FF1 #AF68F5 #CDA1F9 #ECDBFD

Accessibility & contrast

On white

3.43
#AF68F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#AF68F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF68F5
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF68F5#FFFFFF#000000##000000
##AF68F51.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B89FA
Deuteranopia (green-blind)
#4A8BF2
Tritanopia (blue-blind)
#A384A5
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #af68f5;
/* rgb */ color: rgb(175, 104, 245);
/* oklch */ color: oklch(65.8% 0.206 304.6);
Tailwind
colors: {
  custom: {
    50: '#cb96f9',
    500: '#af68f5',
    950: '#000000',
  },
}
SCSS
$custom: #af68f5;
$custom-light: #cb96f9;
$custom-dark: #000000;
JSON
{
  "hex": "#af68f5",
  "rgb": {
    "r": 175,
    "g": 104,
    "b": 245
  },
  "hsl": {
    "h": 270.213,
    "s": 87.578,
    "l": 68.431
  },
  "oklch": {
    "l": 0.65816,
    "c": 0.20639,
    "h": 304.6
  },
  "luminance": 0.25607
}

Semantic roles & 50–950 ramp

primary
#AF68F5
secondary
#DCF2C7
accent
#E40172
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #AF68F5

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

Preview Lab → · Contrast checker → · Palette generator →

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