#AF65EA#AF65EA

#AF65EA is a light, vivid violet. Relative luminance 0.244; OKLCH L 64.7% C 0.199 H 307.4°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#AF65EA
RGBrgb(175, 101, 234)
HSLhsl(273, 76%, 66%)
HSVhsv(273, 57%, 92%)
CMYKcmyk(25.2%, 56.8%, 0%, 8.2%)
CIE-LABlab(56.45, 53.40, -55.99)
CIE-LCHlch(56.45, 77.37, 313.64°)
OKLaboklab(64.72% 0.1207 -0.1577)
OKLCHoklch(64.72% 0.199 307.4)
XYZxyz(37.1811, 24.3623, 80.5696)
Luminance0.2436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF65EA #A0EA65
analogous
#6C65EA #AF65EA #EA65E3
triadic
#AF65EA #EAAF65 #65EAAF
tetradic
#AF65EA #EA6C65 #A0EA65 #65E3EA
square
#AF65EA #EA6C65 #A0EA65 #65E3EA
split-complementary
#AF65EA #E3EA65 #65EA6C
monochromatic
#731ABB #932FE3 #AF65EA #CB9BF1 #E7D1F9

Accessibility & contrast

On white

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

On black

5.87
#AF65EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF65EA
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF65EA#FFFFFF#000000##000000
##AF65EA1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3385EE
Deuteranopia (green-blind)
#5188E7
Tritanopia (blue-blind)
#A67E9E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #af65ea;
/* rgb */ color: rgb(175, 101, 234);
/* oklch */ color: oklch(64.7% 0.199 307.4);
Tailwind
colors: {
  custom: {
    50: '#ca94f1',
    500: '#af65ea',
    950: '#000000',
  },
}
SCSS
$custom: #af65ea;
$custom-light: #ca94f1;
$custom-dark: #000000;
JSON
{
  "hex": "#af65ea",
  "rgb": {
    "r": 175,
    "g": 101,
    "b": 234
  },
  "hsl": {
    "h": 273.383,
    "s": 76,
    "l": 65.686
  },
  "oklch": {
    "l": 0.64723,
    "c": 0.19855,
    "h": 307.4
  },
  "luminance": 0.24362
}

Semantic roles & 50–950 ramp

primary
#AF65EA
secondary
#D3ECBF
accent
#D80D67
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF65EA

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

Preview Lab → · Contrast checker → · Palette generator →

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