#AF65E4#AF65E4

#AF65E4 is a light, vivid violet. Relative luminance 0.240; OKLCH L 64.4% C 0.192 H 308.9°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#AF65E4
RGBrgb(175, 101, 228)
HSLhsl(275, 70%, 65%)
HSVhsv(275, 56%, 89%)
CMYKcmyk(23.2%, 55.7%, 0%, 10.6%)
CIE-LABlab(56.11, 52.05, -53.16)
CIE-LCHlch(56.11, 74.41, 314.40°)
OKLaboklab(64.37% 0.1205 -0.1494)
OKLCHoklch(64.37% 0.192 308.9)
XYZxyz(36.3337, 24.0233, 76.1067)
Luminance0.2402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF65E4 #9AE465
analogous
#7065E4 #AF65E4 #E465D9
triadic
#AF65E4 #E4AF65 #65E4AF
tetradic
#AF65E4 #E47065 #9AE465 #65D9E4
square
#AF65E4 #E47065 #9AE465 #65D9E4
split-complementary
#AF65E4 #D9E465 #65E470
monochromatic
#731FB0 #9431DB #AF65E4 #CA99ED #E5CDF6

Accessibility & contrast

On white

3.62
#AF65E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#AF65E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF65E4
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF65E4#FFFFFF#000000##000000
##AF65E41.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B83E8
Deuteranopia (green-blind)
#5688E1
Tritanopia (blue-blind)
#A87C9B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #af65e4;
/* rgb */ color: rgb(175, 101, 228);
/* oklch */ color: oklch(64.4% 0.192 308.9);
Tailwind
colors: {
  custom: {
    50: '#ca94ed',
    500: '#af65e4',
    950: '#000000',
  },
}
SCSS
$custom: #af65e4;
$custom-light: #ca94ed;
$custom-dark: #000000;
JSON
{
  "hex": "#af65e4",
  "rgb": {
    "r": 175,
    "g": 101,
    "b": 228
  },
  "hsl": {
    "h": 274.961,
    "s": 70.166,
    "l": 64.51
  },
  "oklch": {
    "l": 0.64367,
    "c": 0.19195,
    "h": 308.9
  },
  "luminance": 0.24023
}

Semantic roles & 50–950 ramp

primary
#AF65E4
secondary
#CFE8BC
accent
#D21363
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #AF65E4

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

Preview Lab → · Contrast checker → · Palette generator →

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