#AF65E9#AF65E9

#AF65E9 is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.7% C 0.197 H 307.7°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#AF65E9
RGBrgb(175, 101, 233)
HSLhsl(274, 75%, 65%)
HSVhsv(274, 57%, 91%)
CMYKcmyk(24.9%, 56.7%, 0%, 8.6%)
CIE-LABlab(56.39, 53.17, -55.52)
CIE-LCHlch(56.39, 76.87, 313.76°)
OKLaboklab(64.66% 0.1206 -0.1563)
OKLCHoklch(64.66% 0.197 307.7)
XYZxyz(37.0379, 24.3050, 79.8152)
Luminance0.2430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF65E9 #9FE965
analogous
#6D65E9 #AF65E9 #E965E1
triadic
#AF65E9 #E9AF65 #65E9AF
tetradic
#AF65E9 #E96D65 #9FE965 #65E1E9
square
#AF65E9 #E96D65 #9FE965 #65E1E9
split-complementary
#AF65E9 #E1E965 #65E96D
monochromatic
#731AB9 #932FE1 #AF65E9 #CB9BF1 #E7D0F8

Accessibility & contrast

On white

3.58
#AF65E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#AF65E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF65E9
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF65E9#FFFFFF#000000##000000
##AF65E91.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3584ED
Deuteranopia (green-blind)
#5288E6
Tritanopia (blue-blind)
#A67E9E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #af65e9;
/* rgb */ color: rgb(175, 101, 233);
/* oklch */ color: oklch(64.7% 0.197 307.7);
Tailwind
colors: {
  custom: {
    50: '#ca94f1',
    500: '#af65e9',
    950: '#000000',
  },
}
SCSS
$custom: #af65e9;
$custom-light: #ca94f1;
$custom-dark: #000000;
JSON
{
  "hex": "#af65e9",
  "rgb": {
    "r": 175,
    "g": 101,
    "b": 233
  },
  "hsl": {
    "h": 273.636,
    "s": 75,
    "l": 65.49
  },
  "oklch": {
    "l": 0.64663,
    "c": 0.19745,
    "h": 307.7
  },
  "luminance": 0.24305
}

Semantic roles & 50–950 ramp

primary
#AF65E9
secondary
#D2EBBF
accent
#D70E67
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF65E9

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

Preview Lab → · Contrast checker → · Palette generator →

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