#AF65E7#AF65E7

#AF65E7 is a light, vivid violet. Relative luminance 0.242; OKLCH L 64.5% C 0.195 H 308.1°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#AF65E7
RGBrgb(175, 101, 231)
HSLhsl(274, 73%, 65%)
HSVhsv(274, 56%, 91%)
CMYKcmyk(24.2%, 56.3%, 0%, 9.4%)
CIE-LABlab(56.28, 52.72, -54.58)
CIE-LCHlch(56.28, 75.89, 314.01°)
OKLaboklab(64.54% 0.1206 -0.1536)
OKLCHoklch(64.54% 0.195 308.1)
XYZxyz(36.7538, 24.1913, 78.3190)
Luminance0.2419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF65E7 #9DE765
analogous
#6E65E7 #AF65E7 #E765DE
triadic
#AF65E7 #E7AF65 #65E7AF
tetradic
#AF65E7 #E76E65 #9DE765 #65DEE7
square
#AF65E7 #E76E65 #9DE765 #65DEE7
split-complementary
#AF65E7 #DEE765 #65E76E
monochromatic
#731CB5 #9330DF #AF65E7 #CB9AEF #E6CFF8

Accessibility & contrast

On white

3.60
#AF65E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#AF65E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF65E7
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF65E7#FFFFFF#000000##000000
##AF65E71.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3784EB
Deuteranopia (green-blind)
#5388E4
Tritanopia (blue-blind)
#A77D9D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #af65e7;
/* rgb */ color: rgb(175, 101, 231);
/* oklch */ color: oklch(64.5% 0.195 308.1);
Tailwind
colors: {
  custom: {
    50: '#ca94ef',
    500: '#af65e7',
    950: '#000000',
  },
}
SCSS
$custom: #af65e7;
$custom-light: #ca94ef;
$custom-dark: #000000;
JSON
{
  "hex": "#af65e7",
  "rgb": {
    "r": 175,
    "g": 101,
    "b": 231
  },
  "hsl": {
    "h": 274.154,
    "s": 73.034,
    "l": 65.098
  },
  "oklch": {
    "l": 0.64544,
    "c": 0.19525,
    "h": 308.1
  },
  "luminance": 0.24191
}

Semantic roles & 50–950 ramp

primary
#AF65E7
secondary
#D1EABE
accent
#D51065
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #AF65E7

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

Preview Lab → · Contrast checker → · Palette generator →

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