#AF3FC0#AF3FC0

#AF3FC0 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.5% C 0.210 H 322.1°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#AF3FC0
RGBrgb(175, 63, 192)
HSLhsl(292, 51%, 50%)
HSVhsv(292, 67%, 75%)
CMYKcmyk(8.9%, 67.2%, 0%, 24.7%)
CIE-LABlab(47.59, 62.38, -46.20)
CIE-LCHlch(47.59, 77.63, 323.48°)
OKLaboklab(57.52% 0.1658 -0.1288)
OKLCHoklch(57.52% 0.21 322.1)
XYZxyz(28.9701, 16.4763, 51.5133)
Luminance0.1648 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3FC0 #50C03F
analogous
#6F3FC0 #AF3FC0 #C03F90
triadic
#AF3FC0 #C0AF3F #3FC0AF
tetradic
#AF3FC0 #C06F3F #50C03F #3F90C0
square
#AF3FC0 #C06F3F #50C03F #3F90C0
split-complementary
#AF3FC0 #90C03F #3FC06F
monochromatic
#5B2164 #853092 #AF3FC0 #C26DCF #D59BDE

Accessibility & contrast

On white

4.89
#AF3FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#AF3FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3FC0
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3FC0#FFFFFF#000000##FFFFFF
##AF3FC01.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1969C4
Deuteranopia (green-blind)
#5075BD
Tritanopia (blue-blind)
#B1557B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af3fc0;
/* rgb */ color: rgb(175, 63, 192);
/* oklch */ color: oklch(57.5% 0.210 322.1);
Tailwind
colors: {
  custom: {
    50: '#ca7dd3',
    500: '#af3fc0',
    950: '#000000',
  },
}
SCSS
$custom: #af3fc0;
$custom-light: #ca7dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#af3fc0",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 192
  },
  "hsl": {
    "h": 292.093,
    "s": 50.588,
    "l": 50
  },
  "oklch": {
    "l": 0.57524,
    "c": 0.20996,
    "h": 322.1
  },
  "luminance": 0.16475
}

Semantic roles & 50–950 ramp

primary
#AF3FC0
secondary
#98CA91
accent
#DA4E60
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AF3FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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