#AF4FC0#AF4FC0

#AF4FC0 is a mid, vivid purple. Relative luminance 0.185; OKLCH L 59.3% C 0.188 H 321.4°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#AF4FC0
RGBrgb(175, 79, 192)
HSLhsl(291, 47%, 53%)
HSVhsv(291, 59%, 75%)
CMYKcmyk(8.9%, 58.9%, 0%, 24.7%)
CIE-LABlab(50.11, 55.42, -42.20)
CIE-LCHlch(50.11, 69.66, 322.72°)
OKLaboklab(59.35% 0.1469 -0.1173)
OKLCHoklch(59.35% 0.188 321.4)
XYZxyz(29.9885, 18.5131, 51.8527)
Luminance0.1851 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4FC0 #60C04F
analogous
#764FC0 #AF4FC0 #C04F99
triadic
#AF4FC0 #C0AF4F #4FC0AF
tetradic
#AF4FC0 #C0764F #60C04F #4F99C0
square
#AF4FC0 #C0764F #60C04F #4F99C0
split-complementary
#AF4FC0 #99C04F #4FC076
monochromatic
#63276D #8C379A #AF4FC0 #C37CD0 #D8A9E0

Accessibility & contrast

On white

4.47
#AF4FC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#AF4FC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4FC0
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4FC0#FFFFFF#000000##000000
##AF4FC01.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3870C4
Deuteranopia (green-blind)
#5B7BBD
Tritanopia (blue-blind)
#B16080
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #af4fc0;
/* rgb */ color: rgb(175, 79, 192);
/* oklch */ color: oklch(59.3% 0.188 321.4);
Tailwind
colors: {
  custom: {
    50: '#ca86d3',
    500: '#af4fc0',
    950: '#000000',
  },
}
SCSS
$custom: #af4fc0;
$custom-light: #ca86d3;
$custom-dark: #000000;
JSON
{
  "hex": "#af4fc0",
  "rgb": {
    "r": 175,
    "g": 79,
    "b": 192
  },
  "hsl": {
    "h": 290.973,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59348,
    "c": 0.188,
    "h": 321.4
  },
  "luminance": 0.18512
}

Semantic roles & 50–950 ramp

primary
#AF4FC0
secondary
#A4CE9D
accent
#D75165
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #AF4FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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