#AF3BBA#AF3BBA

#AF3BBA is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.8% C 0.210 H 324.2°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#AF3BBA
RGBrgb(175, 59, 186)
HSLhsl(295, 52%, 48%)
HSVhsv(295, 68%, 73%)
CMYKcmyk(5.9%, 68.3%, 0%, 27.1%)
CIE-LABlab(46.70, 62.87, -44.13)
CIE-LCHlch(46.70, 76.81, 324.93°)
OKLaboklab(56.77% 0.1701 -0.1228)
OKLCHoklch(56.77% 0.21 324.2)
XYZxyz(28.1053, 15.7887, 48.0120)
Luminance0.1579 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3BBA #46BA3B
analogous
#6F3BBA #AF3BBA #BA3B85
triadic
#AF3BBA #BAAF3B #3BBAAF
tetradic
#AF3BBA #BA6F3B #46BA3B #3B85BA
square
#AF3BBA #BA6F3B #46BA3B #3B85BA
split-complementary
#AF3BBA #85BA3B #3BBA6F
monochromatic
#581E5D #832C8C #AF3BBA #C564CE #D693DD

Accessibility & contrast

On white

5.05
#AF3BBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#AF3BBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3BBA
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3BBA#FFFFFF#000000##FFFFFF
##AF3BBA1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B66BE
Deuteranopia (green-blind)
#5173B7
Tritanopia (blue-blind)
#B25076
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af3bba;
/* rgb */ color: rgb(175, 59, 186);
/* oklch */ color: oklch(56.8% 0.210 324.2);
Tailwind
colors: {
  custom: {
    50: '#ca7bcf',
    500: '#af3bba',
    950: '#000000',
  },
}
SCSS
$custom: #af3bba;
$custom-light: #ca7bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#af3bba",
  "rgb": {
    "r": 175,
    "g": 59,
    "b": 186
  },
  "hsl": {
    "h": 294.803,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56769,
    "c": 0.20979,
    "h": 324.2
  },
  "luminance": 0.15787
}

Semantic roles & 50–950 ramp

primary
#AF3BBA
secondary
#8EC889
accent
#DB4D59
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AF3BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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