#AF3BBE#AF3BBE

#AF3BBE is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.0% C 0.213 H 322.9°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#AF3BBE
RGBrgb(175, 59, 190)
HSLhsl(293, 53%, 49%)
HSVhsv(293, 69%, 75%)
CMYKcmyk(7.9%, 68.9%, 0%, 25.5%)
CIE-LABlab(46.92, 63.58, -46.10)
CIE-LCHlch(46.92, 78.54, 324.06°)
OKLaboklab(57.01% 0.1701 -0.1285)
OKLCHoklch(57.01% 0.213 322.9)
XYZxyz(28.5365, 15.9612, 50.2829)
Luminance0.1596 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3BBE #4ABE3B
analogous
#6E3BBE #AF3BBE #BE3B8C
triadic
#AF3BBE #BEAF3B #3BBEAF
tetradic
#AF3BBE #BE6E3B #4ABE3B #3B8CBE
square
#AF3BBE #BE6E3B #4ABE3B #3B8CBE
split-complementary
#AF3BBE #8CBE3B #3BBE6E
monochromatic
#591E61 #842C8F #AF3BBE #C467D0 #D695DE

Accessibility & contrast

On white

5.01
#AF3BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#AF3BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3BBE
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3BBE#FFFFFF#000000##FFFFFF
##AF3BBE1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1267C2
Deuteranopia (green-blind)
#4F74BB
Tritanopia (blue-blind)
#B25178
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af3bbe;
/* rgb */ color: rgb(175, 59, 190);
/* oklch */ color: oklch(57.0% 0.213 322.9);
Tailwind
colors: {
  custom: {
    50: '#ca7bd2',
    500: '#af3bbe',
    950: '#000000',
  },
}
SCSS
$custom: #af3bbe;
$custom-light: #ca7bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#af3bbe",
  "rgb": {
    "r": 175,
    "g": 59,
    "b": 190
  },
  "hsl": {
    "h": 293.13,
    "s": 52.61,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57006,
    "c": 0.21317,
    "h": 322.9
  },
  "luminance": 0.1596
}

Semantic roles & 50–950 ramp

primary
#AF3BBE
secondary
#92CA8B
accent
#DC4C5C
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AF3BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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