#A478BF#A478BF

#A478BF is a light, moderate violet. Relative luminance 0.251; OKLCH L 64.3% C 0.114 H 311.9°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#A478BF
RGBrgb(164, 120, 191)
HSLhsl(277, 36%, 61%)
HSVhsv(277, 37%, 75%)
CMYKcmyk(14.1%, 37.2%, 0%, 25.1%)
CIE-LABlab(57.16, 30.41, -30.66)
CIE-LCHlch(57.16, 43.18, 314.76°)
OKLaboklab(64.29% 0.0758 -0.0845)
OKLCHoklch(64.29% 0.114 311.9)
XYZxyz(31.4287, 25.0875, 52.4668)
Luminance0.2509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A478BF #93BF78
analogous
#8078BF #A478BF #BF78B6
triadic
#A478BF #BFA478 #78BFA4
tetradic
#A478BF #BF8078 #93BF78 #78B6BF
square
#A478BF #BF8078 #93BF78 #78B6BF
split-complementary
#A478BF #B6BF78 #78BF80
monochromatic
#663D80 #8850A9 #A478BF #C0A2D3 #DCCBE6

Accessibility & contrast

On white

3.49
#A478BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#A478BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A478BF
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A478BF#FFFFFF#000000##000000
##A478BF1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B87C2
Deuteranopia (green-blind)
#758ABD
Tritanopia (blue-blind)
#A18293
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a478bf;
/* rgb */ color: rgb(164, 120, 191);
/* oklch */ color: oklch(64.3% 0.114 311.9);
Tailwind
colors: {
  custom: {
    50: '#c09fd2',
    500: '#a478bf',
    950: '#000000',
  },
}
SCSS
$custom: #a478bf;
$custom-light: #c09fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#a478bf",
  "rgb": {
    "r": 164,
    "g": 120,
    "b": 191
  },
  "hsl": {
    "h": 277.183,
    "s": 35.678,
    "l": 60.98
  },
  "oklch": {
    "l": 0.64287,
    "c": 0.11352,
    "h": 311.9
  },
  "luminance": 0.25087
}

Semantic roles & 50–950 ramp

primary
#A478BF
secondary
#C6D7BC
accent
#AF3764
background
#FBF9FC
surface
#F7F2F9
border
#D0CCD2
text
#120E14
muted
#817E82

Preview Lab

Preview with #A478BF

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

Preview Lab → · Contrast checker → · Palette generator →

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