#AF3DBC#AF3DBC

#AF3DBC is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.1% C 0.209 H 323.5°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#AF3DBC
RGBrgb(175, 61, 188)
HSLhsl(294, 51%, 49%)
HSVhsv(294, 68%, 74%)
CMYKcmyk(6.9%, 67.6%, 0%, 26.3%)
CIE-LABlab(47.08, 62.45, -44.68)
CIE-LCHlch(47.08, 76.79, 324.42°)
OKLaboklab(57.08% 0.168 -0.1244)
OKLCHoklch(57.08% 0.209 323.5)
XYZxyz(28.4242, 16.0839, 49.1745)
Luminance0.1608 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3DBC #4ABC3D
analogous
#703DBC #AF3DBC #BC3D8A
triadic
#AF3DBC #BCAF3D #3DBCAF
tetradic
#AF3DBC #BC703D #4ABC3D #3D8ABC
square
#AF3DBC #BC703D #4ABC3D #3D8ABC
split-complementary
#AF3DBC #8ABC3D #3DBC70
monochromatic
#591F60 #842E8E #AF3DBC #C468CE #D696DD

Accessibility & contrast

On white

4.98
#AF3DBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#AF3DBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3DBC
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3DBC#FFFFFF#000000##FFFFFF
##AF3DBC1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C67C0
Deuteranopia (green-blind)
#5174B9
Tritanopia (blue-blind)
#B25278
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af3dbc;
/* rgb */ color: rgb(175, 61, 188);
/* oklch */ color: oklch(57.1% 0.209 323.5);
Tailwind
colors: {
  custom: {
    50: '#ca7cd1',
    500: '#af3dbc',
    950: '#000000',
  },
}
SCSS
$custom: #af3dbc;
$custom-light: #ca7cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#af3dbc",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 188
  },
  "hsl": {
    "h": 293.858,
    "s": 51.004,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57085,
    "c": 0.20902,
    "h": 323.5
  },
  "luminance": 0.16082
}

Semantic roles & 50–950 ramp

primary
#AF3DBC
secondary
#92C98C
accent
#DA4D5C
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AF3DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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