#AF61FD#AF61FD

#AF61FD is a light, highly saturated violet. Relative luminance 0.248; OKLCH L 65.4% C 0.225 H 303.8°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#AF61FD
RGBrgb(175, 97, 253)
HSLhsl(270, 98%, 69%)
HSVhsv(270, 62%, 99%)
CMYKcmyk(30.8%, 61.7%, 0%, 0.8%)
CIE-LABlab(56.84, 59.74, -65.93)
CIE-LCHlch(56.84, 88.97, 312.18°)
OKLaboklab(65.37% 0.1251 -0.1868)
OKLCHoklch(65.37% 0.225 303.8)
XYZxyz(39.6795, 24.7553, 95.5973)
Luminance0.2475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF61FD #AFFD61
analogous
#6161FD #AF61FD #FD61FD
triadic
#AF61FD #FDAF61 #61FDAF
tetradic
#AF61FD #FD6161 #AFFD61 #61FDFD
square
#AF61FD #FD6161 #AFFD61 #61FDFD
split-complementary
#AF61FD #FDFD61 #61FD61
monochromatic
#7203E1 #9025FC #AF61FD #CE9DFE #ECDAFF

Accessibility & contrast

On white

3.53
#AF61FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#AF61FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF61FD
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF61FD#FFFFFF#000000##000000
##AF61FD1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#3688FA
Tritanopia (blue-blind)
#A082A6
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #af61fd;
/* rgb */ color: rgb(175, 97, 253);
/* oklch */ color: oklch(65.4% 0.225 303.8);
Tailwind
colors: {
  custom: {
    50: '#cb92ff',
    500: '#af61fd',
    950: '#000000',
  },
}
SCSS
$custom: #af61fd;
$custom-light: #cb92ff;
$custom-dark: #000000;
JSON
{
  "hex": "#af61fd",
  "rgb": {
    "r": 175,
    "g": 97,
    "b": 253
  },
  "hsl": {
    "h": 270,
    "s": 97.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.65369,
    "c": 0.22484,
    "h": 303.8
  },
  "luminance": 0.24755
}

Semantic roles & 50–950 ramp

primary
#AF61FD
secondary
#DDF4C6
accent
#E60073
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #AF61FD

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

Preview Lab → · Contrast checker → · Palette generator →

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