#AF65E1#AF65E1

#AF65E1 is a light, vivid violet. Relative luminance 0.239; OKLCH L 64.2% C 0.189 H 309.6°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#AF65E1
RGBrgb(175, 101, 225)
HSLhsl(276, 67%, 64%)
HSVhsv(276, 55%, 88%)
CMYKcmyk(22.2%, 55.1%, 0%, 11.8%)
CIE-LABlab(55.95, 51.39, -51.74)
CIE-LCHlch(55.95, 72.93, 314.80°)
OKLaboklab(64.19% 0.1204 -0.1453)
OKLCHoklch(64.19% 0.189 309.6)
XYZxyz(35.9209, 23.8582, 73.9324)
Luminance0.2386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF65E1 #97E165
analogous
#7165E1 #AF65E1 #E165D5
triadic
#AF65E1 #E1AF65 #65E1AF
tetradic
#AF65E1 #E17165 #97E165 #65D5E1
square
#AF65E1 #E17165 #97E165 #65D5E1
split-complementary
#AF65E1 #D5E165 #65E171
monochromatic
#7321AA #9432D7 #AF65E1 #CA98EB #E4CBF5

Accessibility & contrast

On white

3.64
#AF65E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#AF65E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF65E1
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF65E1#FFFFFF#000000##000000
##AF65E11.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E83E5
Deuteranopia (green-blind)
#5887DE
Tritanopia (blue-blind)
#A87B99
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #af65e1;
/* rgb */ color: rgb(175, 101, 225);
/* oklch */ color: oklch(64.2% 0.189 309.6);
Tailwind
colors: {
  custom: {
    50: '#ca94eb',
    500: '#af65e1',
    950: '#000000',
  },
}
SCSS
$custom: #af65e1;
$custom-light: #ca94eb;
$custom-dark: #000000;
JSON
{
  "hex": "#af65e1",
  "rgb": {
    "r": 175,
    "g": 101,
    "b": 225
  },
  "hsl": {
    "h": 275.806,
    "s": 67.391,
    "l": 63.922
  },
  "oklch": {
    "l": 0.64192,
    "c": 0.18865,
    "h": 309.6
  },
  "luminance": 0.23858
}

Semantic roles & 50–950 ramp

primary
#AF65E1
secondary
#CDE7BB
accent
#CF1661
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #AF65E1

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

Preview Lab → · Contrast checker → · Palette generator →

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