#AF68FC#AF68FC

#AF68FC is a light, highly saturated violet. Relative luminance 0.260; OKLCH L 66.3% C 0.214 H 303.1°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#AF68FC
RGBrgb(175, 104, 252)
HSLhsl(269, 96%, 70%)
HSVhsv(269, 59%, 99%)
CMYKcmyk(30.6%, 58.7%, 0%, 1.2%)
CIE-LABlab(58.08, 56.01, -63.38)
CIE-LCHlch(58.08, 84.58, 311.46°)
OKLaboklab(66.25% 0.1171 -0.1794)
OKLCHoklch(66.25% 0.214 303.1)
XYZxyz(40.1962, 26.0429, 94.9857)
Luminance0.2604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF68FC #B5FC68
analogous
#686BFC #AF68FC #F968FC
triadic
#AF68FC #FCAF68 #68FCAF
tetradic
#AF68FC #FC686B #B5FC68 #68FCF9
square
#AF68FC #FC686B #B5FC68 #68FCF9
split-complementary
#AF68FC #FCF968 #6BFC68
monochromatic
#7005E5 #8F2CFB #AF68FC #CFA4FD #EFE0FE

Accessibility & contrast

On white

3.38
#AF68FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#AF68FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF68FC
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF68FC#FFFFFF#000000##000000
##AF68FC1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C8AFF
Deuteranopia (green-blind)
#428BF9
Tritanopia (blue-blind)
#A086A8
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #af68fc;
/* rgb */ color: rgb(175, 104, 252);
/* oklch */ color: oklch(66.3% 0.214 303.1);
Tailwind
colors: {
  custom: {
    50: '#cb96fe',
    500: '#af68fc',
    950: '#000000',
  },
}
SCSS
$custom: #af68fc;
$custom-light: #cb96fe;
$custom-dark: #000000;
JSON
{
  "hex": "#af68fc",
  "rgb": {
    "r": 175,
    "g": 104,
    "b": 252
  },
  "hsl": {
    "h": 268.784,
    "s": 96.104,
    "l": 69.804
  },
  "oklch": {
    "l": 0.66252,
    "c": 0.21418,
    "h": 303.1
  },
  "luminance": 0.26043
}

Semantic roles & 50–950 ramp

primary
#AF68FC
secondary
#E1F5CB
accent
#E60077
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AF68FC

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

Preview Lab → · Contrast checker → · Palette generator →

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