#AF3FC9#AF3FC9

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

Color values

HEX#AF3FC9
RGBrgb(175, 63, 201)
HSLhsl(289, 56%, 52%)
HSVhsv(289, 69%, 79%)
CMYKcmyk(12.9%, 68.7%, 0%, 21.2%)
CIE-LABlab(48.12, 64.05, -50.57)
CIE-LCHlch(48.12, 81.61, 321.71°)
OKLaboklab(58.07% 0.1655 -0.1416)
OKLCHoklch(58.07% 0.218 319.4)
XYZxyz(29.9980, 16.8874, 56.9265)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3FC9 #59C93F
analogous
#6A3FC9 #AF3FC9 #C93F9E
triadic
#AF3FC9 #C9AF3F #3FC9AF
tetradic
#AF3FC9 #C96A3F #59C93F #3F9EC9
square
#AF3FC9 #C96A3F #59C93F #3F9EC9
split-complementary
#AF3FC9 #9EC93F #3FC96A
monochromatic
#601F6F #892D9E #AF3FC9 #C36FD6 #D79FE4

Accessibility & contrast

On white

4.80
#AF3FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#AF3FC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3FC9
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3FC9#FFFFFF#000000##FFFFFF
##AF3FC91.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCD
Deuteranopia (green-blind)
#4976C6
Tritanopia (blue-blind)
#AF597F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af3fc9;
/* rgb */ color: rgb(175, 63, 201);
/* oklch */ color: oklch(58.1% 0.218 319.4);
Tailwind
colors: {
  custom: {
    50: '#cb7dda',
    500: '#af3fc9',
    950: '#000000',
  },
}
SCSS
$custom: #af3fc9;
$custom-light: #cb7dda;
$custom-dark: #000000;
JSON
{
  "hex": "#af3fc9",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 201
  },
  "hsl": {
    "h": 288.696,
    "s": 56.098,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58069,
    "c": 0.21782,
    "h": 319.4
  },
  "luminance": 0.16886
}

Semantic roles & 50–950 ramp

primary
#AF3FC9
secondary
#9FD094
accent
#DF4865
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AF3FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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