#AF65E8#AF65E8

#AF65E8 is a light, vivid violet. Relative luminance 0.242; OKLCH L 64.6% C 0.196 H 307.9°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#AF65E8
RGBrgb(175, 101, 232)
HSLhsl(274, 74%, 65%)
HSVhsv(274, 56%, 91%)
CMYKcmyk(24.6%, 56.5%, 0%, 9%)
CIE-LABlab(56.34, 52.95, -55.05)
CIE-LCHlch(56.34, 76.38, 313.89°)
OKLaboklab(64.6% 0.1206 -0.1549)
OKLCHoklch(64.6% 0.196 307.9)
XYZxyz(36.8954, 24.2480, 79.0650)
Luminance0.2425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF65E8 #9EE865
analogous
#6D65E8 #AF65E8 #E865DF
triadic
#AF65E8 #E8AF65 #65E8AF
tetradic
#AF65E8 #E86D65 #9EE865 #65DFE8
square
#AF65E8 #E86D65 #9EE865 #65DFE8
split-complementary
#AF65E8 #DFE865 #65E86D
monochromatic
#731BB7 #9330E0 #AF65E8 #CB9AF0 #E6CFF8

Accessibility & contrast

On white

3.59
#AF65E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#AF65E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF65E8
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF65E8#FFFFFF#000000##000000
##AF65E81.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3684EC
Deuteranopia (green-blind)
#5388E5
Tritanopia (blue-blind)
#A77D9D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #af65e8;
/* rgb */ color: rgb(175, 101, 232);
/* oklch */ color: oklch(64.6% 0.196 307.9);
Tailwind
colors: {
  custom: {
    50: '#ca94f0',
    500: '#af65e8',
    950: '#000000',
  },
}
SCSS
$custom: #af65e8;
$custom-light: #ca94f0;
$custom-dark: #000000;
JSON
{
  "hex": "#af65e8",
  "rgb": {
    "r": 175,
    "g": 101,
    "b": 232
  },
  "hsl": {
    "h": 273.893,
    "s": 74.011,
    "l": 65.294
  },
  "oklch": {
    "l": 0.64603,
    "c": 0.19635,
    "h": 307.9
  },
  "luminance": 0.24248
}

Semantic roles & 50–950 ramp

primary
#AF65E8
secondary
#D2EABE
accent
#D60F66
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF65E8

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

Preview Lab → · Contrast checker → · Palette generator →

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