#A04FCB#A04FCB

#A04FCB is a mid, vivid violet. Relative luminance 0.174; OKLCH L 58.1% C 0.193 H 312.0°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#A04FCB
RGBrgb(160, 79, 203)
HSLhsl(279, 54%, 55%)
HSVhsv(279, 61%, 80%)
CMYKcmyk(21.2%, 61.1%, 0%, 20.4%)
CIE-LABlab(48.73, 53.95, -50.86)
CIE-LCHlch(48.73, 74.14, 316.69°)
OKLaboklab(58.12% 0.1289 -0.143)
OKLCHoklch(58.12% 0.193 312)
XYZxyz(28.0707, 17.3780, 58.3639)
Luminance0.1738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04FCB #7ACB4F
analogous
#624FCB #A04FCB #CB4FB8
triadic
#A04FCB #CBA04F #4FCBA0
tetradic
#A04FCB #CB624F #7ACB4F #4FB8CB
square
#A04FCB #CB624F #7ACB4F #4FB8CB
split-complementary
#A04FCB #B8CB4F #4FCB62
monochromatic
#5D247B #8132AA #A04FCB #BA7ED9 #D3ADE7

Accessibility & contrast

On white

4.69
#A04FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#A04FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A04FCB
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04FCB#FFFFFF#000000##FFFFFF
##A04FCB1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F70CF
Deuteranopia (green-blind)
#4575C8
Tritanopia (blue-blind)
#9B6686
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a04fcb;
/* rgb */ color: rgb(160, 79, 203);
/* oklch */ color: oklch(58.1% 0.193 312.0);
Tailwind
colors: {
  custom: {
    50: '#bf85db',
    500: '#a04fcb',
    950: '#000000',
  },
}
SCSS
$custom: #a04fcb;
$custom-light: #bf85db;
$custom-dark: #000000;
JSON
{
  "hex": "#a04fcb",
  "rgb": {
    "r": 160,
    "g": 79,
    "b": 203
  },
  "hsl": {
    "h": 279.194,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.58122,
    "c": 0.19251,
    "h": 312
  },
  "luminance": 0.17377
}

Semantic roles & 50–950 ramp

primary
#A04FCB
secondary
#B3D5A1
accent
#DE4A7D
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A04FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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