#AF61FC#AF61FC

#AF61FC is a light, highly saturated violet. Relative luminance 0.247; OKLCH L 65.3% C 0.224 H 304.0°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#AF61FC
RGBrgb(175, 97, 252)
HSLhsl(270, 96%, 68%)
HSVhsv(270, 62%, 99%)
CMYKcmyk(30.6%, 61.5%, 0%, 1.2%)
CIE-LABlab(56.77, 59.51, -65.48)
CIE-LCHlch(56.77, 88.48, 312.27°)
OKLaboklab(65.3% 0.1251 -0.1855)
OKLCHoklch(65.3% 0.224 304)
XYZxyz(39.5206, 24.6917, 94.7605)
Luminance0.2469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF61FC #AEFC61
analogous
#6161FC #AF61FC #FC61FB
triadic
#AF61FC #FCAF61 #61FCAF
tetradic
#AF61FC #FC6161 #AEFC61 #61FBFC
square
#AF61FC #FC6161 #AEFC61 #61FBFC
split-complementary
#AF61FC #FBFC61 #61FC61
monochromatic
#7204DE #9125FB #AF61FC #CD9DFD #ECD9FE

Accessibility & contrast

On white

3.54
#AF61FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#AF61FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF61FC
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF61FC#FFFFFF#000000##000000
##AF61FC1.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#3788F9
Tritanopia (blue-blind)
#A181A6
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #af61fc;
/* rgb */ color: rgb(175, 97, 252);
/* oklch */ color: oklch(65.3% 0.224 304.0);
Tailwind
colors: {
  custom: {
    50: '#cb92fe',
    500: '#af61fc',
    950: '#000000',
  },
}
SCSS
$custom: #af61fc;
$custom-light: #cb92fe;
$custom-dark: #000000;
JSON
{
  "hex": "#af61fc",
  "rgb": {
    "r": 175,
    "g": 97,
    "b": 252
  },
  "hsl": {
    "h": 270.194,
    "s": 96.273,
    "l": 68.431
  },
  "oklch": {
    "l": 0.65304,
    "c": 0.22377,
    "h": 304
  },
  "luminance": 0.24692
}

Semantic roles & 50–950 ramp

primary
#AF61FC
secondary
#DCF4C5
accent
#E60072
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #AF61FC

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

Preview Lab → · Contrast checker → · Palette generator →

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