#AF3FCF#AF3FCF

#AF3FCF is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.4% C 0.223 H 317.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#AF3FCF
RGBrgb(175, 63, 207)
HSLhsl(287, 60%, 53%)
HSVhsv(287, 70%, 81%)
CMYKcmyk(15.5%, 69.6%, 0%, 18.8%)
CIE-LABlab(48.48, 65.19, -53.45)
CIE-LCHlch(48.48, 84.30, 320.66°)
OKLaboklab(58.44% 0.1652 -0.15)
OKLCHoklch(58.44% 0.223 317.7)
XYZxyz(30.7176, 17.1753, 60.7165)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3FCF #5FCF3F
analogous
#673FCF #AF3FCF #CF3FA7
triadic
#AF3FCF #CFAF3F #3FCFAF
tetradic
#AF3FCF #CF673F #5FCF3F #3FA7CF
square
#AF3FCF #CF673F #5FCF3F #3FA7CF
split-complementary
#AF3FCF #A7CF3F #3FCF67
monochromatic
#621E76 #8B2AA7 #AF3FCF #C370DB #D8A1E7

Accessibility & contrast

On white

4.74
#AF3FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#AF3FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3FCF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3FCF#FFFFFF#000000##FFFFFF
##AF3FCF1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#4477CC
Tritanopia (blue-blind)
#AE5B83
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af3fcf;
/* rgb */ color: rgb(175, 63, 207);
/* oklch */ color: oklch(58.4% 0.223 317.7);
Tailwind
colors: {
  custom: {
    50: '#cb7dde',
    500: '#af3fcf',
    950: '#000000',
  },
}
SCSS
$custom: #af3fcf;
$custom-light: #cb7dde;
$custom-dark: #000000;
JSON
{
  "hex": "#af3fcf",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 207
  },
  "hsl": {
    "h": 286.667,
    "s": 60,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58444,
    "c": 0.22312,
    "h": 317.7
  },
  "luminance": 0.17174
}

Semantic roles & 50–950 ramp

primary
#AF3FCF
secondary
#A4D496
accent
#E34568
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AF3FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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