#AF61FB#AF61FB

#AF61FB is a light, highly saturated violet. Relative luminance 0.246; OKLCH L 65.2% C 0.223 H 304.2°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#AF61FB
RGBrgb(175, 97, 251)
HSLhsl(270, 95%, 68%)
HSVhsv(270, 61%, 98%)
CMYKcmyk(30.3%, 61.4%, 0%, 1.6%)
CIE-LABlab(56.71, 59.28, -65.02)
CIE-LCHlch(56.71, 87.99, 312.35°)
OKLaboklab(65.24% 0.1252 -0.1842)
OKLCHoklch(65.24% 0.223 304.2)
XYZxyz(39.3626, 24.6285, 93.9282)
Luminance0.2463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF61FB #ADFB61
analogous
#6261FB #AF61FB #FB61FA
triadic
#AF61FB #FBAF61 #61FBAF
tetradic
#AF61FB #FB6261 #ADFB61 #61FAFB
square
#AF61FB #FB6261 #ADFB61 #61FAFB
split-complementary
#AF61FB #FAFB61 #61FB62
monochromatic
#7206DC #9125F9 #AF61FB #CD9DFD #EBD8FE

Accessibility & contrast

On white

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

On black

5.93
#AF61FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF61FB
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF61FB#FFFFFF#000000##000000
##AF61FB1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#3988F8
Tritanopia (blue-blind)
#A181A5
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #af61fb;
/* rgb */ color: rgb(175, 97, 251);
/* oklch */ color: oklch(65.2% 0.223 304.2);
Tailwind
colors: {
  custom: {
    50: '#cb92fd',
    500: '#af61fb',
    950: '#000000',
  },
}
SCSS
$custom: #af61fb;
$custom-light: #cb92fd;
$custom-dark: #000000;
JSON
{
  "hex": "#af61fb",
  "rgb": {
    "r": 175,
    "g": 97,
    "b": 251
  },
  "hsl": {
    "h": 270.39,
    "s": 95.062,
    "l": 68.235
  },
  "oklch": {
    "l": 0.65239,
    "c": 0.22269,
    "h": 304.2
  },
  "luminance": 0.24628
}

Semantic roles & 50–950 ramp

primary
#AF61FB
secondary
#DCF3C5
accent
#E60071
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D18
muted
#827E86

Preview Lab

Preview with #AF61FB

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

Preview Lab → · Contrast checker → · Palette generator →

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