#AF3BAF#AF3BAF

#AF3BAF is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.1% C 0.201 H 327.8°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#AF3BAF
RGBrgb(175, 59, 175)
HSLhsl(300, 50%, 46%)
HSVhsv(300, 66%, 69%)
CMYKcmyk(0%, 66.3%, 0%, 31.4%)
CIE-LABlab(46.09, 60.96, -38.63)
CIE-LCHlch(46.09, 72.17, 327.64°)
OKLaboklab(56.14% 0.1699 -0.1068)
OKLCHoklch(56.14% 0.201 327.8)
XYZxyz(26.9807, 15.3389, 42.0887)
Luminance0.1534 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3BAF #3BAF3B
analogous
#753BAF #AF3BAF #AF3B75
triadic
#AF3BAF #AFAF3B #3BAFAF
tetradic
#AF3BAF #AF753B #3BAF3B #3B75AF
square
#AF3BAF #AF753B #3BAF3B #3B75AF
split-complementary
#AF3BAF #75AF3B #3BAF75
monochromatic
#531C53 #812C81 #AF3BAF #C95EC9 #D88CD8

Accessibility & contrast

On white

5.16
#AF3BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#AF3BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3BAF
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3BAF#FFFFFF#000000##FFFFFF
##AF3BAF1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A63B2
Deuteranopia (green-blind)
#5872AC
Tritanopia (blue-blind)
#B44B70
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af3baf;
/* rgb */ color: rgb(175, 59, 175);
/* oklch */ color: oklch(56.1% 0.201 327.8);
Tailwind
colors: {
  custom: {
    50: '#ca7ac7',
    500: '#af3baf',
    950: '#000000',
  },
}
SCSS
$custom: #af3baf;
$custom-light: #ca7ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#af3baf",
  "rgb": {
    "r": 175,
    "g": 59,
    "b": 175
  },
  "hsl": {
    "h": 300,
    "s": 49.573,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56142,
    "c": 0.20069,
    "h": 327.8
  },
  "luminance": 0.15337
}

Semantic roles & 50–950 ramp

primary
#AF3BAF
secondary
#83C383
accent
#D94F4F
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF3BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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