#AF69EC#AF69EC

#AF69EC is a light, vivid violet. Relative luminance 0.253; OKLCH L 65.4% C 0.195 H 306.4°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#AF69EC
RGBrgb(175, 105, 236)
HSLhsl(272, 78%, 67%)
HSVhsv(272, 56%, 93%)
CMYKcmyk(25.8%, 55.5%, 0%, 7.5%)
CIE-LABlab(57.34, 51.79, -55.68)
CIE-LCHlch(57.34, 76.04, 312.93°)
OKLaboklab(65.41% 0.1157 -0.1568)
OKLCHoklch(65.41% 0.195 306.4)
XYZxyz(37.8679, 25.2736, 82.2240)
Luminance0.2527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF69EC #A6EC69
analogous
#6E69EC #AF69EC #EC69E8
triadic
#AF69EC #ECAF69 #69ECAF
tetradic
#AF69EC #EC6E69 #A6EC69 #69E8EC
square
#AF69EC #EC6E69 #A6EC69 #69E8EC
split-complementary
#AF69EC #E8EC69 #69EC6E
monochromatic
#7319C2 #9233E5 #AF69EC #CC9FF3 #E9D6FA

Accessibility & contrast

On white

3.47
#AF69EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#AF69EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF69EC
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF69EC#FFFFFF#000000##000000
##AF69EC1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A87F0
Deuteranopia (green-blind)
#548AE9
Tritanopia (blue-blind)
#A582A1
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #af69ec;
/* rgb */ color: rgb(175, 105, 236);
/* oklch */ color: oklch(65.4% 0.195 306.4);
Tailwind
colors: {
  custom: {
    50: '#ca96f3',
    500: '#af69ec',
    950: '#000000',
  },
}
SCSS
$custom: #af69ec;
$custom-light: #ca96f3;
$custom-dark: #000000;
JSON
{
  "hex": "#af69ec",
  "rgb": {
    "r": 175,
    "g": 105,
    "b": 236
  },
  "hsl": {
    "h": 272.061,
    "s": 77.515,
    "l": 66.863
  },
  "oklch": {
    "l": 0.65414,
    "c": 0.19487,
    "h": 306.4
  },
  "luminance": 0.25273
}

Semantic roles & 50–950 ramp

primary
#AF69EC
secondary
#D7EDC3
accent
#DA0C6C
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #AF69EC

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

Preview Lab → · Contrast checker → · Palette generator →

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