#AF65ED#AF65ED

#AF65ED is a light, highly saturated violet. Relative luminance 0.245; OKLCH L 64.9% C 0.202 H 306.7°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#AF65ED
RGBrgb(175, 101, 237)
HSLhsl(273, 79%, 66%)
HSVhsv(273, 57%, 93%)
CMYKcmyk(26.2%, 57.4%, 0%, 7.1%)
CIE-LABlab(56.62, 54.08, -57.39)
CIE-LCHlch(56.62, 78.85, 313.30°)
OKLaboklab(64.9% 0.1207 -0.1618)
OKLCHoklch(64.9% 0.202 306.7)
XYZxyz(37.6158, 24.5361, 82.8587)
Luminance0.2454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF65ED #A3ED65
analogous
#6B65ED #AF65ED #ED65E7
triadic
#AF65ED #EDAF65 #65EDAF
tetradic
#AF65ED #ED6B65 #A3ED65 #65E7ED
square
#AF65ED #ED6B65 #A3ED65 #65E7ED
split-complementary
#AF65ED #E7ED65 #65ED6B
monochromatic
#7317C1 #932EE7 #AF65ED #CB9CF3 #E8D3FA

Accessibility & contrast

On white

3.55
#AF65ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#AF65ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF65ED
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF65ED#FFFFFF#000000##000000
##AF65ED1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F85F1
Deuteranopia (green-blind)
#4E88EA
Tritanopia (blue-blind)
#A57FA0
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #af65ed;
/* rgb */ color: rgb(175, 101, 237);
/* oklch */ color: oklch(64.9% 0.202 306.7);
Tailwind
colors: {
  custom: {
    50: '#ca94f3',
    500: '#af65ed',
    950: '#000000',
  },
}
SCSS
$custom: #af65ed;
$custom-light: #ca94f3;
$custom-dark: #000000;
JSON
{
  "hex": "#af65ed",
  "rgb": {
    "r": 175,
    "g": 101,
    "b": 237
  },
  "hsl": {
    "h": 272.647,
    "s": 79.07,
    "l": 66.275
  },
  "oklch": {
    "l": 0.64904,
    "c": 0.20185,
    "h": 306.7
  },
  "luminance": 0.24536
}

Semantic roles & 50–950 ramp

primary
#AF65ED
secondary
#D5EDC1
accent
#DB0A6A
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF65ED

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

Preview Lab → · Contrast checker → · Palette generator →

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