#A178DB#A178DB

#A178DB is a light, vivid violet. Relative luminance 0.261; OKLCH L 65.4% C 0.148 H 301.6°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#A178DB
RGBrgb(161, 120, 219)
HSLhsl(265, 58%, 66%)
HSVhsv(265, 45%, 86%)
CMYKcmyk(26.5%, 45.2%, 0%, 14.1%)
CIE-LABlab(58.15, 35.99, -44.96)
CIE-LCHlch(58.15, 57.59, 308.68°)
OKLaboklab(65.39% 0.0773 -0.1259)
OKLCHoklch(65.39% 0.148 301.6)
XYZxyz(34.1977, 26.1244, 70.2450)
Luminance0.2612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A178DB #B2DB78
analogous
#7881DB #A178DB #D278DB
triadic
#A178DB #DBA178 #78DBA1
tetradic
#A178DB #DB7881 #B2DB78 #78DBD2
square
#A178DB #DB7881 #B2DB78 #78DBD2
split-complementary
#A178DB #DBD278 #81DB78
monochromatic
#622EAB #7F48CE #A178DB #C3A8E8 #E4D9F5

Accessibility & contrast

On white

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

On black

6.22
#A178DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A178DB
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A178DB#FFFFFF#000000##000000
##A178DB1.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8BDF
Deuteranopia (green-blind)
#658BD8
Tritanopia (blue-blind)
#96899F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a178db;
/* rgb */ color: rgb(161, 120, 219);
/* oklch */ color: oklch(65.4% 0.148 301.6);
Tailwind
colors: {
  custom: {
    50: '#bf9fe6',
    500: '#a178db',
    950: '#000000',
  },
}
SCSS
$custom: #a178db;
$custom-light: #bf9fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#a178db",
  "rgb": {
    "r": 161,
    "g": 120,
    "b": 219
  },
  "hsl": {
    "h": 264.848,
    "s": 57.895,
    "l": 66.471
  },
  "oklch": {
    "l": 0.65391,
    "c": 0.14776,
    "h": 301.6
  },
  "luminance": 0.26124
}

Semantic roles & 50–950 ramp

primary
#A178DB
secondary
#DAE7C7
accent
#C52081
background
#FBF9FE
surface
#F7F2FC
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #A178DB

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

Preview Lab → · Contrast checker → · Palette generator →

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