#AF68F0#AF68F0

#AF68F0 is a light, highly saturated violet. Relative luminance 0.253; OKLCH L 65.5% C 0.201 H 305.7°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#AF68F0
RGBrgb(175, 104, 240)
HSLhsl(271, 82%, 67%)
HSVhsv(271, 57%, 94%)
CMYKcmyk(27.1%, 56.7%, 0%, 5.9%)
CIE-LABlab(57.37, 53.22, -57.86)
CIE-LCHlch(57.37, 78.61, 312.61°)
OKLaboklab(65.51% 0.1171 -0.1632)
OKLCHoklch(65.51% 0.201 305.7)
XYZxyz(38.3543, 25.3061, 85.2852)
Luminance0.2531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF68F0 #A9F068
analogous
#6B68F0 #AF68F0 #F068ED
triadic
#AF68F0 #F0AF68 #68F0AF
tetradic
#AF68F0 #F06B68 #A9F068 #68EDF0
square
#AF68F0 #F06B68 #A9F068 #68EDF0
split-complementary
#AF68F0 #EDF068 #68F06B
monochromatic
#7314CA #9230EA #AF68F0 #CCA0F6 #EAD7FB

Accessibility & contrast

On white

3.46
#AF68F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#AF68F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF68F0
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF68F0#FFFFFF#000000##000000
##AF68F01.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3288F4
Deuteranopia (green-blind)
#4F8AED
Tritanopia (blue-blind)
#A482A2
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #af68f0;
/* rgb */ color: rgb(175, 104, 240);
/* oklch */ color: oklch(65.5% 0.201 305.7);
Tailwind
colors: {
  custom: {
    50: '#ca96f6',
    500: '#af68f0',
    950: '#000000',
  },
}
SCSS
$custom: #af68f0;
$custom-light: #ca96f6;
$custom-dark: #000000;
JSON
{
  "hex": "#af68f0",
  "rgb": {
    "r": 175,
    "g": 104,
    "b": 240
  },
  "hsl": {
    "h": 271.324,
    "s": 81.928,
    "l": 67.451
  },
  "oklch": {
    "l": 0.6551,
    "c": 0.20081,
    "h": 305.7
  },
  "luminance": 0.25306
}

Semantic roles & 50–950 ramp

primary
#AF68F0
secondary
#D9EFC5
accent
#DE076E
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140E17
muted
#827E85

Preview Lab

Preview with #AF68F0

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

Preview Lab → · Contrast checker → · Palette generator →

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