#A04BCB#A04BCB

#A04BCB is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.6% C 0.198 H 312.4°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#A04BCB
RGBrgb(160, 75, 203)
HSLhsl(280, 55%, 55%)
HSVhsv(280, 63%, 80%)
CMYKcmyk(21.2%, 63.1%, 0%, 20.4%)
CIE-LABlab(48.03, 55.87, -51.98)
CIE-LCHlch(48.03, 76.31, 317.07°)
OKLaboklab(57.61% 0.1337 -0.1463)
OKLCHoklch(57.61% 0.198 312.4)
XYZxyz(27.7909, 16.8183, 58.2706)
Luminance0.1682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04BCB #76CB4B
analogous
#604BCB #A04BCB #CB4BB6
triadic
#A04BCB #CBA04B #4BCBA0
tetradic
#A04BCB #CB604B #76CB4B #4BB6CB
square
#A04BCB #CB604B #76CB4B #4BB6CB
split-complementary
#A04BCB #B6CB4B #4BCB60
monochromatic
#5C2379 #8031A8 #A04BCB #B97AD9 #D2AAE6

Accessibility & contrast

On white

4.81
#A04BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#A04BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A04BCB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04BCB#FFFFFF#000000##FFFFFF
##A04BCB1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#106ECF
Deuteranopia (green-blind)
#4174C8
Tritanopia (blue-blind)
#9B6384
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a04bcb;
/* rgb */ color: rgb(160, 75, 203);
/* oklch */ color: oklch(57.6% 0.198 312.4);
Tailwind
colors: {
  custom: {
    50: '#c082db',
    500: '#a04bcb',
    950: '#000000',
  },
}
SCSS
$custom: #a04bcb;
$custom-light: #c082db;
$custom-dark: #000000;
JSON
{
  "hex": "#a04bcb",
  "rgb": {
    "r": 160,
    "g": 75,
    "b": 203
  },
  "hsl": {
    "h": 279.844,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.57613,
    "c": 0.19816,
    "h": 312.4
  },
  "luminance": 0.16818
}

Semantic roles & 50–950 ramp

primary
#A04BCB
secondary
#B0D49E
accent
#DF497B
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A04BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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