#AF3FCD#AF3FCD

#AF3FCD is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.3% C 0.221 H 318.3°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#AF3FCD
RGBrgb(175, 63, 205)
HSLhsl(287, 59%, 53%)
HSVhsv(287, 69%, 80%)
CMYKcmyk(14.6%, 69.3%, 0%, 19.6%)
CIE-LABlab(48.36, 64.81, -52.49)
CIE-LCHlch(48.36, 83.40, 321.00°)
OKLaboklab(58.32% 0.1653 -0.1472)
OKLCHoklch(58.32% 0.221 318.3)
XYZxyz(30.4746, 17.0781, 59.4369)
Luminance0.1708 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3FCD #5DCD3F
analogous
#683FCD #AF3FCD #CD3FA4
triadic
#AF3FCD #CDAF3F #3FCDAF
tetradic
#AF3FCD #CD683F #5DCD3F #3FA4CD
square
#AF3FCD #CD683F #5DCD3F #3FA4CD
split-complementary
#AF3FCD #A4CD3F #3FCD68
monochromatic
#611E74 #8A2BA4 #AF3FCD #C370DA #D7A0E6

Accessibility & contrast

On white

4.76
#AF3FCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#AF3FCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3FCD
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3FCD#FFFFFF#000000##FFFFFF
##AF3FCD1.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#4676CA
Tritanopia (blue-blind)
#AE5A82
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af3fcd;
/* rgb */ color: rgb(175, 63, 205);
/* oklch */ color: oklch(58.3% 0.221 318.3);
Tailwind
colors: {
  custom: {
    50: '#cb7ddd',
    500: '#af3fcd',
    950: '#000000',
  },
}
SCSS
$custom: #af3fcd;
$custom-light: #cb7ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#af3fcd",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 205
  },
  "hsl": {
    "h": 287.324,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58318,
    "c": 0.22135,
    "h": 318.3
  },
  "luminance": 0.17077
}

Semantic roles & 50–950 ramp

primary
#AF3FCD
secondary
#A2D395
accent
#E24667
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AF3FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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