#AF3BBB#AF3BBB

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

Color values

HEX#AF3BBB
RGBrgb(175, 59, 187)
HSLhsl(294, 52%, 48%)
HSVhsv(294, 68%, 73%)
CMYKcmyk(6.4%, 68.4%, 0%, 26.7%)
CIE-LABlab(46.75, 63.05, -44.63)
CIE-LCHlch(46.75, 77.24, 324.71°)
OKLaboklab(56.83% 0.1701 -0.1242)
OKLCHoklch(56.83% 0.211 323.9)
XYZxyz(28.2120, 15.8314, 48.5739)
Luminance0.1583 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3BBB #47BB3B
analogous
#6F3BBB #AF3BBB #BB3B87
triadic
#AF3BBB #BBAF3B #3BBBAF
tetradic
#AF3BBB #BB6F3B #47BB3B #3B87BB
square
#AF3BBB #BB6F3B #47BB3B #3B87BB
split-complementary
#AF3BBB #87BB3B #3BBB6F
monochromatic
#581E5E #832C8C #AF3BBB #C465CE #D693DD

Accessibility & contrast

On white

5.04
#AF3BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#AF3BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3BBB
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3BBB#FFFFFF#000000##FFFFFF
##AF3BBB1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1966BF
Deuteranopia (green-blind)
#5174B8
Tritanopia (blue-blind)
#B25077
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af3bbb;
/* rgb */ color: rgb(175, 59, 187);
/* oklch */ color: oklch(56.8% 0.211 323.9);
Tailwind
colors: {
  custom: {
    50: '#ca7bd0',
    500: '#af3bbb',
    950: '#000000',
  },
}
SCSS
$custom: #af3bbb;
$custom-light: #ca7bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#af3bbb",
  "rgb": {
    "r": 175,
    "g": 59,
    "b": 187
  },
  "hsl": {
    "h": 294.375,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56828,
    "c": 0.21063,
    "h": 323.9
  },
  "luminance": 0.1583
}

Semantic roles & 50–950 ramp

primary
#AF3BBB
secondary
#8FC88A
accent
#DB4C5A
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AF3BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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