#A04BEC#A04BEC

#A04BEC is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.8% C 0.232 H 304.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#A04BEC
RGBrgb(160, 75, 236)
HSLhsl(272, 81%, 61%)
HSVhsv(272, 68%, 93%)
CMYKcmyk(32.2%, 68.2%, 0%, 7.5%)
CIE-LABlab(50.17, 63.16, -67.30)
CIE-LCHlch(50.17, 92.30, 313.18°)
OKLaboklab(59.83% 0.1309 -0.1913)
OKLCHoklch(59.83% 0.232 304.4)
XYZxyz(32.1502, 18.5620, 81.2297)
Luminance0.1856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04BEC #97EC4B
analogous
#4F4BEC #A04BEC #EC4BE8
triadic
#A04BEC #ECA04B #4BECA0
tetradic
#A04BEC #EC4F4B #97EC4B #4BE8EC
square
#A04BEC #EC4F4B #97EC4B #4BE8EC
split-complementary
#A04BEC #E8EC4B #4BEC4F
monochromatic
#6312AB #8318E2 #A04BEC #BD82F2 #DABAF8

Accessibility & contrast

On white

4.46
#A04BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#A04BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A04BEC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04BEC#FFFFFF#000000##000000
##A04BEC1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075F1
Deuteranopia (green-blind)
#0077E9
Tritanopia (blue-blind)
#927096
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a04bec;
/* rgb */ color: rgb(160, 75, 236);
/* oklch */ color: oklch(59.8% 0.232 304.4);
Tailwind
colors: {
  custom: {
    50: '#c183f3',
    500: '#a04bec',
    950: '#000000',
  },
}
SCSS
$custom: #a04bec;
$custom-light: #c183f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a04bec",
  "rgb": {
    "r": 160,
    "g": 75,
    "b": 236
  },
  "hsl": {
    "h": 271.677,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59832,
    "c": 0.23178,
    "h": 304.4
  },
  "luminance": 0.18562
}

Semantic roles & 50–950 ramp

primary
#A04BEC
secondary
#C8E8AB
accent
#DD086D
background
#FCF8FF
surface
#F8EFFE
border
#D1CAD6
text
#130B17
muted
#827C85

Preview Lab

Preview with #A04BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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