#AF65E6#AF65E6

#AF65E6 is a light, vivid violet. Relative luminance 0.241; OKLCH L 64.5% C 0.194 H 308.4°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#AF65E6
RGBrgb(175, 101, 230)
HSLhsl(274, 72%, 65%)
HSVhsv(274, 56%, 90%)
CMYKcmyk(23.9%, 56.1%, 0%, 9.8%)
CIE-LABlab(56.22, 52.50, -54.11)
CIE-LCHlch(56.22, 75.39, 314.14°)
OKLaboklab(64.49% 0.1206 -0.1522)
OKLCHoklch(64.49% 0.194 308.4)
XYZxyz(36.6130, 24.1350, 77.5773)
Luminance0.2413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF65E6 #9CE665
analogous
#6F65E6 #AF65E6 #E665DC
triadic
#AF65E6 #E6AF65 #65E6AF
tetradic
#AF65E6 #E66F65 #9CE665 #65DCE6
square
#AF65E6 #E66F65 #9CE665 #65DCE6
split-complementary
#AF65E6 #DCE665 #65E66F
monochromatic
#731DB3 #9430DD #AF65E6 #CA9AEF #E6CEF7

Accessibility & contrast

On white

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

On black

5.83
#AF65E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF65E6
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF65E6#FFFFFF#000000##000000
##AF65E61.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3884EA
Deuteranopia (green-blind)
#5488E3
Tritanopia (blue-blind)
#A77D9C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #af65e6;
/* rgb */ color: rgb(175, 101, 230);
/* oklch */ color: oklch(64.5% 0.194 308.4);
Tailwind
colors: {
  custom: {
    50: '#ca94ee',
    500: '#af65e6',
    950: '#000000',
  },
}
SCSS
$custom: #af65e6;
$custom-light: #ca94ee;
$custom-dark: #000000;
JSON
{
  "hex": "#af65e6",
  "rgb": {
    "r": 175,
    "g": 101,
    "b": 230
  },
  "hsl": {
    "h": 274.419,
    "s": 72.067,
    "l": 64.902
  },
  "oklch": {
    "l": 0.64485,
    "c": 0.19415,
    "h": 308.4
  },
  "luminance": 0.24134
}

Semantic roles & 50–950 ramp

primary
#AF65E6
secondary
#D0E9BD
accent
#D41164
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #AF65E6

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

Preview Lab → · Contrast checker → · Palette generator →

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