#AF61FA#AF61FA

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

Color values

HEX#AF61FA
RGBrgb(175, 97, 250)
HSLhsl(271, 94%, 68%)
HSVhsv(271, 61%, 98%)
CMYKcmyk(30%, 61.2%, 0%, 2%)
CIE-LABlab(56.65, 59.05, -64.57)
CIE-LCHlch(56.65, 87.50, 312.44°)
OKLaboklab(65.17% 0.1252 -0.1828)
OKLCHoklch(65.17% 0.222 304.4)
XYZxyz(39.2054, 24.5656, 93.1002)
Luminance0.2457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF61FA #ACFA61
analogous
#6261FA #AF61FA #FA61F9
triadic
#AF61FA #FAAF61 #61FAAF
tetradic
#AF61FA #FA6261 #ACFA61 #61F9FA
square
#AF61FA #FA6261 #ACFA61 #61F9FA
split-complementary
#AF61FA #F9FA61 #61FA62
monochromatic
#7207DA #9126F8 #AF61FA #CD9CFC #EBD8FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF61FA#FFFFFF#000000##000000
##AF61FA1.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)
#0086FF
Deuteranopia (green-blind)
#3A88F7
Tritanopia (blue-blind)
#A181A5
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #af61fa;
/* rgb */ color: rgb(175, 97, 250);
/* oklch */ color: oklch(65.2% 0.222 304.4);
Tailwind
colors: {
  custom: {
    50: '#cb92fd',
    500: '#af61fa',
    950: '#000000',
  },
}
SCSS
$custom: #af61fa;
$custom-light: #cb92fd;
$custom-dark: #000000;
JSON
{
  "hex": "#af61fa",
  "rgb": {
    "r": 175,
    "g": 97,
    "b": 250
  },
  "hsl": {
    "h": 270.588,
    "s": 93.865,
    "l": 68.039
  },
  "oklch": {
    "l": 0.65174,
    "c": 0.22161,
    "h": 304.4
  },
  "luminance": 0.24565
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF61FA

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

Preview Lab → · Contrast checker → · Palette generator →

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