#AF4FCF#AF4FCF

#AF4FCF is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.2% C 0.202 H 316.7°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#AF4FCF
RGBrgb(175, 79, 207)
HSLhsl(285, 57%, 56%)
HSVhsv(285, 62%, 81%)
CMYKcmyk(15.5%, 61.8%, 0%, 18.8%)
CIE-LABlab(50.93, 58.37, -49.52)
CIE-LCHlch(50.93, 76.54, 319.69°)
OKLaboklab(60.21% 0.1474 -0.1386)
OKLCHoklch(60.21% 0.202 316.7)
XYZxyz(31.7360, 19.2121, 61.0560)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4FCF #6FCF4F
analogous
#6F4FCF #AF4FCF #CF4FAF
triadic
#AF4FCF #CFAF4F #4FCFAF
tetradic
#AF4FCF #CF6F4F #6FCF4F #4FAFCF
square
#AF4FCF #CF6F4F #6FCF4F #4FAFCF
split-complementary
#AF4FCF #AFCF4F #4FCF6F
monochromatic
#692381 #9130B1 #AF4FCF #C57FDC #DBAFE9

Accessibility & contrast

On white

4.34
#AF4FCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#AF4FCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4FCF
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4FCF#FFFFFF#000000##000000
##AF4FCF1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2673D3
Deuteranopia (green-blind)
#517CCC
Tritanopia (blue-blind)
#AE6588
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #af4fcf;
/* rgb */ color: rgb(175, 79, 207);
/* oklch */ color: oklch(60.2% 0.202 316.7);
Tailwind
colors: {
  custom: {
    50: '#ca86de',
    500: '#af4fcf',
    950: '#000000',
  },
}
SCSS
$custom: #af4fcf;
$custom-light: #ca86de;
$custom-dark: #000000;
JSON
{
  "hex": "#af4fcf",
  "rgb": {
    "r": 175,
    "g": 79,
    "b": 207
  },
  "hsl": {
    "h": 285,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60211,
    "c": 0.20233,
    "h": 316.7
  },
  "luminance": 0.19211
}

Semantic roles & 50–950 ramp

primary
#AF4FCF
secondary
#B0D7A2
accent
#E0476E
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #AF4FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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