#AF78BB#AF78BB

#AF78BB is a light, moderate purple. Relative luminance 0.261; OKLCH L 65.3% C 0.114 H 320.3°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#AF78BB
RGBrgb(175, 120, 187)
HSLhsl(289, 33%, 60%)
HSVhsv(289, 36%, 73%)
CMYKcmyk(6.4%, 35.8%, 0%, 26.7%)
CIE-LABlab(58.17, 33.03, -26.73)
CIE-LCHlch(58.17, 42.49, 321.02°)
OKLaboklab(65.26% 0.088 -0.0731)
OKLCHoklch(65.26% 0.114 320.3)
XYZxyz(33.3642, 26.1357, 50.2912)
Luminance0.2614 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF78BB #84BB78
analogous
#8E78BB #AF78BB #BB78A5
triadic
#AF78BB #BBAF78 #78BBAF
tetradic
#AF78BB #BB8E78 #84BB78 #78A5BB
square
#AF78BB #BB8E78 #84BB78 #78A5BB
split-complementary
#AF78BB #A5BB78 #78BB8E
monochromatic
#703E7B #9552A3 #AF78BB #C7A1D0 #DFC9E4

Accessibility & contrast

On white

3.37
#AF78BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#AF78BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF78BB
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF78BB#FFFFFF#000000##000000
##AF78BB1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7088BE
Deuteranopia (green-blind)
#7D8EB9
Tritanopia (blue-blind)
#B08091
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #af78bb;
/* rgb */ color: rgb(175, 120, 187);
/* oklch */ color: oklch(65.3% 0.114 320.3);
Tailwind
colors: {
  custom: {
    50: '#c8a0cf',
    500: '#af78bb',
    950: '#000000',
  },
}
SCSS
$custom: #af78bb;
$custom-light: #c8a0cf;
$custom-dark: #000000;
JSON
{
  "hex": "#af78bb",
  "rgb": {
    "r": 175,
    "g": 120,
    "b": 187
  },
  "hsl": {
    "h": 289.254,
    "s": 33.005,
    "l": 60.196
  },
  "oklch": {
    "l": 0.65259,
    "c": 0.11438,
    "h": 320.3
  },
  "luminance": 0.26135
}

Semantic roles & 50–950 ramp

primary
#AF78BB
secondary
#BFD4BB
accent
#AC3A4E
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130F14
muted
#827E82

Preview Lab

Preview with #AF78BB

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

Preview Lab → · Contrast checker → · Palette generator →

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