#A178CF#A178CF

#A178CF is a light, vivid violet. Relative luminance 0.255; OKLCH L 64.8% C 0.133 H 304.7°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#A178CF
RGBrgb(161, 120, 207)
HSLhsl(268, 48%, 64%)
HSVhsv(268, 42%, 81%)
CMYKcmyk(22.2%, 42%, 0%, 18.8%)
CIE-LABlab(57.57, 33.13, -39.12)
CIE-LCHlch(57.57, 51.26, 310.27°)
OKLaboklab(64.76% 0.0754 -0.1089)
OKLCHoklch(64.76% 0.133 304.7)
XYZxyz(32.6746, 25.5151, 62.2229)
Luminance0.2551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A178CF #A6CF78
analogous
#787BCF #A178CF #CD78CF
triadic
#A178CF #CFA178 #78CFA1
tetradic
#A178CF #CF787B #A6CF78 #78CFCD
square
#A178CF #CF787B #A6CF78 #78CFCD
split-complementary
#A178CF #CFCD78 #7BCF78
monochromatic
#643697 #824BBF #A178CF #C0A5DF #E0D2EF

Accessibility & contrast

On white

3.44
#A178CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#A178CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A178CF
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A178CF#FFFFFF#000000##000000
##A178CF1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6389D2
Deuteranopia (green-blind)
#6C8ACD
Tritanopia (blue-blind)
#9A869A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a178cf;
/* rgb */ color: rgb(161, 120, 207);
/* oklch */ color: oklch(64.8% 0.133 304.7);
Tailwind
colors: {
  custom: {
    50: '#be9fde',
    500: '#a178cf',
    950: '#000000',
  },
}
SCSS
$custom: #a178cf;
$custom-light: #be9fde;
$custom-dark: #000000;
JSON
{
  "hex": "#a178cf",
  "rgb": {
    "r": 161,
    "g": 120,
    "b": 207
  },
  "hsl": {
    "h": 268.276,
    "s": 47.541,
    "l": 64.118
  },
  "oklch": {
    "l": 0.64764,
    "c": 0.1325,
    "h": 304.7
  },
  "luminance": 0.25515
}

Semantic roles & 50–950 ramp

primary
#A178CF
secondary
#D2E1C2
accent
#BB2B77
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A178CF

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

Preview Lab → · Contrast checker → · Palette generator →

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