#A178BF#A178BF

#A178BF is a light, moderate violet. Relative luminance 0.248; OKLCH L 64.0% C 0.112 H 310.0°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#A178BF
RGBrgb(161, 120, 191)
HSLhsl(275, 36%, 61%)
HSVhsv(275, 37%, 75%)
CMYKcmyk(15.7%, 37.2%, 0%, 25.1%)
CIE-LABlab(56.85, 29.47, -31.16)
CIE-LCHlch(56.85, 42.89, 313.41°)
OKLaboklab(63.98% 0.0722 -0.086)
OKLCHoklch(63.98% 0.112 310)
XYZxyz(30.8167, 24.7720, 52.4382)
Luminance0.2477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A178BF #96BF78
analogous
#7D78BF #A178BF #BF78B9
triadic
#A178BF #BFA178 #78BFA1
tetradic
#A178BF #BF7D78 #96BF78 #78B9BF
square
#A178BF #BF7D78 #96BF78 #78B9BF
split-complementary
#A178BF #B9BF78 #78BF7D
monochromatic
#643D80 #8450A9 #A178BF #BEA2D3 #DBCBE6

Accessibility & contrast

On white

3.53
#A178BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#A178BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A178BF
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A178BF#FFFFFF#000000##000000
##A178BF1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A86C2
Deuteranopia (green-blind)
#7489BD
Tritanopia (blue-blind)
#9E8293
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a178bf;
/* rgb */ color: rgb(161, 120, 191);
/* oklch */ color: oklch(64.0% 0.112 310.0);
Tailwind
colors: {
  custom: {
    50: '#be9fd2',
    500: '#a178bf',
    950: '#000000',
  },
}
SCSS
$custom: #a178bf;
$custom-light: #be9fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#a178bf",
  "rgb": {
    "r": 161,
    "g": 120,
    "b": 191
  },
  "hsl": {
    "h": 274.648,
    "s": 35.678,
    "l": 60.98
  },
  "oklch": {
    "l": 0.63982,
    "c": 0.11229,
    "h": 310
  },
  "luminance": 0.24772
}

Semantic roles & 50–950 ramp

primary
#A178BF
secondary
#C7D7BC
accent
#AF3769
background
#FBF9FC
surface
#F7F2F9
border
#D0CCD2
text
#120E14
muted
#817E82

Preview Lab

Preview with #A178BF

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

Preview Lab → · Contrast checker → · Palette generator →

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