#AF68F7#AF68F7

#AF68F7 is a light, highly saturated violet. Relative luminance 0.257; OKLCH L 65.9% C 0.209 H 304.1°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#AF68F7
RGBrgb(175, 104, 247)
HSLhsl(270, 90%, 69%)
HSVhsv(270, 58%, 97%)
CMYKcmyk(29.1%, 57.9%, 0%, 3.1%)
CIE-LABlab(57.78, 54.84, -61.09)
CIE-LCHlch(57.78, 82.09, 311.91°)
OKLaboklab(65.94% 0.1171 -0.1726)
OKLCHoklch(65.94% 0.209 304.1)
XYZxyz(39.4143, 25.7301, 90.8676)
Luminance0.2573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF68F7 #B0F768
analogous
#6869F7 #AF68F7 #F668F7
triadic
#AF68F7 #F7AF68 #68F7AF
tetradic
#AF68F7 #F76869 #B0F768 #68F7F6
square
#AF68F7 #F76869 #B0F768 #68F7F6
split-complementary
#AF68F7 #F7F668 #69F768
monochromatic
#720CD9 #902EF4 #AF68F7 #CEA2FA #EDDCFD

Accessibility & contrast

On white

3.42
#AF68F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#AF68F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF68F7
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF68F7#FFFFFF#000000##000000
##AF68F71.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2789FC
Deuteranopia (green-blind)
#488BF4
Tritanopia (blue-blind)
#A284A6
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #af68f7;
/* rgb */ color: rgb(175, 104, 247);
/* oklch */ color: oklch(65.9% 0.209 304.1);
Tailwind
colors: {
  custom: {
    50: '#cb96fb',
    500: '#af68f7',
    950: '#000000',
  },
}
SCSS
$custom: #af68f7;
$custom-light: #cb96fb;
$custom-dark: #000000;
JSON
{
  "hex": "#af68f7",
  "rgb": {
    "r": 175,
    "g": 104,
    "b": 247
  },
  "hsl": {
    "h": 269.79,
    "s": 89.937,
    "l": 68.824
  },
  "oklch": {
    "l": 0.65939,
    "c": 0.20862,
    "h": 304.1
  },
  "luminance": 0.2573
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF68F7

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

Preview Lab → · Contrast checker → · Palette generator →

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