#AF3FCA#AF3FCA

#AF3FCA is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.1% C 0.219 H 319.2°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#AF3FCA
RGBrgb(175, 63, 202)
HSLhsl(288, 57%, 52%)
HSVhsv(288, 69%, 79%)
CMYKcmyk(13.4%, 68.8%, 0%, 20.8%)
CIE-LABlab(48.18, 64.24, -51.05)
CIE-LCHlch(48.18, 82.06, 321.53°)
OKLaboklab(58.13% 0.1655 -0.143)
OKLCHoklch(58.13% 0.219 319.2)
XYZxyz(30.1160, 16.9347, 57.5480)
Luminance0.1693 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3FCA #5ACA3F
analogous
#693FCA #AF3FCA #CA3FA0
triadic
#AF3FCA #CAAF3F #3FCAAF
tetradic
#AF3FCA #CA693F #5ACA3F #3FA0CA
square
#AF3FCA #CA693F #5ACA3F #3FA0CA
split-complementary
#AF3FCA #A0CA3F #3FCA69
monochromatic
#601F70 #892CA0 #AF3FCA #C36FD7 #D79FE4

Accessibility & contrast

On white

4.79
#AF3FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#AF3FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3FCA
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3FCA#FFFFFF#000000##FFFFFF
##AF3FCA1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#4876C7
Tritanopia (blue-blind)
#AF5980
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af3fca;
/* rgb */ color: rgb(175, 63, 202);
/* oklch */ color: oklch(58.1% 0.219 319.2);
Tailwind
colors: {
  custom: {
    50: '#cb7ddb',
    500: '#af3fca',
    950: '#000000',
  },
}
SCSS
$custom: #af3fca;
$custom-light: #cb7ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#af3fca",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 202
  },
  "hsl": {
    "h": 288.345,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58131,
    "c": 0.2187,
    "h": 319.2
  },
  "luminance": 0.16933
}

Semantic roles & 50–950 ramp

primary
#AF3FCA
secondary
#A0D194
accent
#E04865
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AF3FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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