#AF7BBB#AF7BBB

#AF7BBB is a light, moderate purple. Relative luminance 0.269; OKLCH L 65.8% C 0.109 H 319.9°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#AF7BBB
RGBrgb(175, 123, 187)
HSLhsl(289, 32%, 61%)
HSVhsv(289, 34%, 73%)
CMYKcmyk(6.4%, 34.2%, 0%, 26.7%)
CIE-LABlab(58.85, 31.36, -25.67)
CIE-LCHlch(58.85, 40.52, 320.70°)
OKLaboklab(65.78% 0.0834 -0.0701)
OKLCHoklch(65.78% 0.109 319.9)
XYZxyz(33.7306, 26.8687, 50.4134)
Luminance0.2687 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7BBB #87BB7B
analogous
#8F7BBB #AF7BBB #BB7BA7
triadic
#AF7BBB #BBAF7B #7BBBAF
tetradic
#AF7BBB #BB8F7B #87BB7B #7BA7BB
square
#AF7BBB #BB8F7B #87BB7B #7BA7BB
split-complementary
#AF7BBB #A7BB7B #7BBB8F
monochromatic
#71407C #9555A4 #AF7BBB #C7A3D0 #E0CCE5

Accessibility & contrast

On white

3.29
#AF7BBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#AF7BBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7BBB
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7BBB#FFFFFF#000000##000000
##AF7BBB1.003.296.376.37
#FFFFFF3.291.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#738ABD
Deuteranopia (green-blind)
#8090B9
Tritanopia (blue-blind)
#B08293
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #af7bbb;
/* rgb */ color: rgb(175, 123, 187);
/* oklch */ color: oklch(65.8% 0.109 319.9);
Tailwind
colors: {
  custom: {
    50: '#c8a2cf',
    500: '#af7bbb',
    950: '#000000',
  },
}
SCSS
$custom: #af7bbb;
$custom-light: #c8a2cf;
$custom-dark: #000000;
JSON
{
  "hex": "#af7bbb",
  "rgb": {
    "r": 175,
    "g": 123,
    "b": 187
  },
  "hsl": {
    "h": 288.75,
    "s": 32,
    "l": 60.784
  },
  "oklch": {
    "l": 0.65779,
    "c": 0.10897,
    "h": 319.9
  },
  "luminance": 0.26868
}

Semantic roles & 50–950 ramp

primary
#AF7BBB
secondary
#C1D5BD
accent
#AB3B50
background
#FCFAFC
surface
#F8F3F9
border
#D1CDD2
text
#130F14
muted
#827F82

Preview Lab

Preview with #AF7BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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