#AF65EB#AF65EB

#AF65EB is a light, vivid violet. Relative luminance 0.244; OKLCH L 64.8% C 0.200 H 307.2°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#AF65EB
RGBrgb(175, 101, 235)
HSLhsl(273, 77%, 66%)
HSVhsv(273, 57%, 92%)
CMYKcmyk(25.5%, 57%, 0%, 7.8%)
CIE-LABlab(56.51, 53.62, -56.45)
CIE-LCHlch(56.51, 77.86, 313.53°)
OKLaboklab(64.78% 0.1207 -0.159)
OKLCHoklch(64.78% 0.2 307.2)
XYZxyz(37.3252, 24.4199, 81.3284)
Luminance0.2442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF65EB #A1EB65
analogous
#6C65EB #AF65EB #EB65E4
triadic
#AF65EB #EBAF65 #65EBAF
tetradic
#AF65EB #EB6C65 #A1EB65 #65E4EB
square
#AF65EB #EB6C65 #A1EB65 #65E4EB
split-complementary
#AF65EB #E4EB65 #65EB6C
monochromatic
#7319BD #932FE4 #AF65EB #CB9BF2 #E7D1F9

Accessibility & contrast

On white

3.57
#AF65EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#AF65EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF65EB
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF65EB#FFFFFF#000000##000000
##AF65EB1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3285EF
Deuteranopia (green-blind)
#5088E8
Tritanopia (blue-blind)
#A67E9F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #af65eb;
/* rgb */ color: rgb(175, 101, 235);
/* oklch */ color: oklch(64.8% 0.200 307.2);
Tailwind
colors: {
  custom: {
    50: '#ca94f2',
    500: '#af65eb',
    950: '#000000',
  },
}
SCSS
$custom: #af65eb;
$custom-light: #ca94f2;
$custom-dark: #000000;
JSON
{
  "hex": "#af65eb",
  "rgb": {
    "r": 175,
    "g": 101,
    "b": 235
  },
  "hsl": {
    "h": 273.134,
    "s": 77.011,
    "l": 65.882
  },
  "oklch": {
    "l": 0.64783,
    "c": 0.19965,
    "h": 307.2
  },
  "luminance": 0.24419
}

Semantic roles & 50–950 ramp

primary
#AF65EB
secondary
#D4ECC0
accent
#D90C68
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF65EB

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

Preview Lab → · Contrast checker → · Palette generator →

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