#AF4FC9#AF4FC9

#AF4FC9 is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.9% C 0.197 H 318.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#AF4FC9
RGBrgb(175, 79, 201)
HSLhsl(287, 53%, 55%)
HSVhsv(287, 61%, 79%)
CMYKcmyk(12.9%, 60.7%, 0%, 21.2%)
CIE-LABlab(50.60, 57.17, -46.61)
CIE-LCHlch(50.60, 73.77, 320.81°)
OKLaboklab(59.86% 0.1473 -0.1302)
OKLCHoklch(59.86% 0.197 318.5)
XYZxyz(31.0164, 18.9243, 57.2660)
Luminance0.1892 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4FC9 #69C94F
analogous
#724FC9 #AF4FC9 #C94FA6
triadic
#AF4FC9 #C9AF4F #4FC9AF
tetradic
#AF4FC9 #C9724F #69C94F #4FA6C9
square
#AF4FC9 #C9724F #69C94F #4FA6C9
split-complementary
#AF4FC9 #A6C94F #4FC972
monochromatic
#672579 #8F33A7 #AF4FC9 #C47ED7 #DAADE6

Accessibility & contrast

On white

4.39
#AF4FC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#AF4FC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4FC9
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4FC9#FFFFFF#000000##000000
##AF4FC91.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F72CD
Deuteranopia (green-blind)
#557CC6
Tritanopia (blue-blind)
#AF6385
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #af4fc9;
/* rgb */ color: rgb(175, 79, 201);
/* oklch */ color: oklch(59.9% 0.197 318.5);
Tailwind
colors: {
  custom: {
    50: '#ca86da',
    500: '#af4fc9',
    950: '#000000',
  },
}
SCSS
$custom: #af4fc9;
$custom-light: #ca86da;
$custom-dark: #000000;
JSON
{
  "hex": "#af4fc9",
  "rgb": {
    "r": 175,
    "g": 79,
    "b": 201
  },
  "hsl": {
    "h": 287.213,
    "s": 53.043,
    "l": 54.902
  },
  "oklch": {
    "l": 0.59858,
    "c": 0.19656,
    "h": 318.5
  },
  "luminance": 0.18923
}

Semantic roles & 50–950 ramp

primary
#AF4FC9
secondary
#ABD4A0
accent
#DC4B6A
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF4FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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