#AF3BB2#AF3BB2

#AF3BB2 is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.3% C 0.203 H 326.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#AF3BB2
RGBrgb(175, 59, 178)
HSLhsl(298, 50%, 46%)
HSVhsv(298, 67%, 70%)
CMYKcmyk(1.7%, 66.9%, 0%, 30.2%)
CIE-LABlab(46.26, 61.47, -40.14)
CIE-LCHlch(46.26, 73.42, 326.85°)
OKLaboklab(56.31% 0.17 -0.1112)
OKLCHoklch(56.31% 0.203 326.8)
XYZxyz(27.2786, 15.4580, 43.6578)
Luminance0.1546 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3BB2 #3EB23B
analogous
#743BB2 #AF3BB2 #B23B7A
triadic
#AF3BB2 #B2AF3B #3BB2AF
tetradic
#AF3BB2 #B2743B #3EB23B #3B7AB2
square
#AF3BB2 #B2743B #3EB23B #3B7AB2
split-complementary
#AF3BB2 #7AB23B #3BB274
monochromatic
#551D56 #822C84 #AF3BB2 #C860CA #D88EDA

Accessibility & contrast

On white

5.13
#AF3BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#AF3BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3BB2
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3BB2#FFFFFF#000000##FFFFFF
##AF3BB21.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2764B5
Deuteranopia (green-blind)
#5673AF
Tritanopia (blue-blind)
#B44C72
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af3bb2;
/* rgb */ color: rgb(175, 59, 178);
/* oklch */ color: oklch(56.3% 0.203 326.8);
Tailwind
colors: {
  custom: {
    50: '#ca7ac9',
    500: '#af3bb2',
    950: '#000000',
  },
}
SCSS
$custom: #af3bb2;
$custom-light: #ca7ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#af3bb2",
  "rgb": {
    "r": 175,
    "g": 59,
    "b": 178
  },
  "hsl": {
    "h": 298.487,
    "s": 50.211,
    "l": 46.471
  },
  "oklch": {
    "l": 0.5631,
    "c": 0.20315,
    "h": 326.8
  },
  "luminance": 0.15456
}

Semantic roles & 50–950 ramp

primary
#AF3BB2
secondary
#86C485
accent
#DA4E52
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF3BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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