#AF4FC4#AF4FC4

#AF4FC4 is a mid, vivid purple. Relative luminance 0.187; OKLCH L 59.6% C 0.192 H 320.1°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#AF4FC4
RGBrgb(175, 79, 196)
HSLhsl(289, 50%, 54%)
HSVhsv(289, 60%, 77%)
CMYKcmyk(10.7%, 59.7%, 0%, 23.1%)
CIE-LABlab(50.33, 56.19, -44.17)
CIE-LCHlch(50.33, 71.47, 321.83°)
OKLaboklab(59.57% 0.1471 -0.123)
OKLCHoklch(59.57% 0.192 320.1)
XYZxyz(30.4378, 18.6928, 54.2186)
Luminance0.1869 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4FC4 #64C44F
analogous
#754FC4 #AF4FC4 #C44F9F
triadic
#AF4FC4 #C4AF4F #4FC4AF
tetradic
#AF4FC4 #C4754F #64C44F #4F9FC4
square
#AF4FC4 #C4754F #64C44F #4F9FC4
split-complementary
#AF4FC4 #9FC44F #4FC475
monochromatic
#652672 #8D36A0 #AF4FC4 #C47DD3 #D9ABE3

Accessibility & contrast

On white

4.43
#AF4FC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#AF4FC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4FC4
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4FC4#FFFFFF#000000##000000
##AF4FC41.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3471C8
Deuteranopia (green-blind)
#597BC1
Tritanopia (blue-blind)
#B06182
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #af4fc4;
/* rgb */ color: rgb(175, 79, 196);
/* oklch */ color: oklch(59.6% 0.192 320.1);
Tailwind
colors: {
  custom: {
    50: '#ca86d6',
    500: '#af4fc4',
    950: '#000000',
  },
}
SCSS
$custom: #af4fc4;
$custom-light: #ca86d6;
$custom-dark: #000000;
JSON
{
  "hex": "#af4fc4",
  "rgb": {
    "r": 175,
    "g": 79,
    "b": 196
  },
  "hsl": {
    "h": 289.231,
    "s": 49.787,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59572,
    "c": 0.19178,
    "h": 320.1
  },
  "luminance": 0.18691
}

Semantic roles & 50–950 ramp

primary
#AF4FC4
secondary
#A7D09E
accent
#D94E67
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #AF4FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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