#AF3FD0#AF3FD0

#AF3FD0 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.5% C 0.224 H 317.5°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#AF3FD0
RGBrgb(175, 63, 208)
HSLhsl(286, 61%, 53%)
HSVhsv(286, 70%, 82%)
CMYKcmyk(15.9%, 69.7%, 0%, 18.4%)
CIE-LABlab(48.54, 65.39, -53.92)
CIE-LCHlch(48.54, 84.75, 320.49°)
OKLaboklab(58.51% 0.1651 -0.1514)
OKLCHoklch(58.51% 0.224 317.5)
XYZxyz(30.8402, 17.2244, 61.3624)
Luminance0.1722 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3FD0 #60D03F
analogous
#663FD0 #AF3FD0 #D03FA8
triadic
#AF3FD0 #D0AF3F #3FD0AF
tetradic
#AF3FD0 #D0663F #60D03F #3FA8D0
square
#AF3FD0 #D0663F #60D03F #3FA8D0
split-complementary
#AF3FD0 #A8D03F #3FD066
monochromatic
#631D77 #8C29A9 #AF3FD0 #C370DC #D8A1E8

Accessibility & contrast

On white

4.72
#AF3FD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#AF3FD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3FD0
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3FD0#FFFFFF#000000##FFFFFF
##AF3FD01.004.724.444.72
#FFFFFF4.721.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD4
Deuteranopia (green-blind)
#4377CD
Tritanopia (blue-blind)
#AE5B83
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af3fd0;
/* rgb */ color: rgb(175, 63, 208);
/* oklch */ color: oklch(58.5% 0.224 317.5);
Tailwind
colors: {
  custom: {
    50: '#cb7ddf',
    500: '#af3fd0',
    950: '#000000',
  },
}
SCSS
$custom: #af3fd0;
$custom-light: #cb7ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#af3fd0",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 208
  },
  "hsl": {
    "h": 286.345,
    "s": 60.669,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58507,
    "c": 0.22401,
    "h": 317.5
  },
  "luminance": 0.17223
}

Semantic roles & 50–950 ramp

primary
#AF3FD0
secondary
#A4D596
accent
#E44468
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AF3FD0

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

Preview Lab → · Contrast checker → · Palette generator →

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