#A768BB#A768BB

#A768BB is a mid, vivid purple. Relative luminance 0.217; OKLCH L 61.7% C 0.138 H 317.7°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#A768BB
RGBrgb(167, 104, 187)
HSLhsl(286, 38%, 57%)
HSVhsv(286, 44%, 73%)
CMYKcmyk(10.7%, 44.4%, 0%, 26.7%)
CIE-LABlab(53.71, 39.40, -33.72)
CIE-LCHlch(53.71, 51.85, 319.44°)
OKLaboklab(61.71% 0.1023 -0.0931)
OKLCHoklch(61.71% 0.138 317.7)
XYZxyz(29.8550, 21.7049, 49.6209)
Luminance0.2170 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A768BB #7CBB68
analogous
#7E68BB #A768BB #BB68A6
triadic
#A768BB #BBA768 #68BBA7
tetradic
#A768BB #BB7E68 #7CBB68 #68A6BB
square
#A768BB #BB7E68 #7CBB68 #68A6BB
split-complementary
#A768BB #A6BB68 #68BB7E
monochromatic
#653474 #89479E #A768BB #C092CE #D8BCE1

Accessibility & contrast

On white

3.93
#A768BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#A768BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A768BB
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A768BB#FFFFFF#000000##000000
##A768BB1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7CBE
Deuteranopia (green-blind)
#6B82B9
Tritanopia (blue-blind)
#A77389
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a768bb;
/* rgb */ color: rgb(167, 104, 187);
/* oklch */ color: oklch(61.7% 0.138 317.7);
Tailwind
colors: {
  custom: {
    50: '#c395d0',
    500: '#a768bb',
    950: '#000000',
  },
}
SCSS
$custom: #a768bb;
$custom-light: #c395d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a768bb",
  "rgb": {
    "r": 167,
    "g": 104,
    "b": 187
  },
  "hsl": {
    "h": 285.542,
    "s": 37.9,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61708,
    "c": 0.13833,
    "h": 317.7
  },
  "luminance": 0.21704
}

Semantic roles & 50–950 ramp

primary
#A768BB
secondary
#B7D0AF
accent
#CE5A76
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #A768BB

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

Preview Lab → · Contrast checker → · Palette generator →

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