#A158CF#A158CF

#A158CF is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.7% C 0.184 H 310.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#A158CF
RGBrgb(161, 88, 207)
HSLhsl(277, 55%, 58%)
HSVhsv(277, 57%, 81%)
CMYKcmyk(22.2%, 57.5%, 0%, 18.8%)
CIE-LABlab(50.76, 50.57, -49.90)
CIE-LCHlch(50.76, 71.05, 315.38°)
OKLaboklab(59.7% 0.1189 -0.1402)
OKLCHoklch(59.7% 0.184 310.3)
XYZxyz(29.4480, 19.0621, 61.1474)
Luminance0.1906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A158CF #86CF58
analogous
#6558CF #A158CF #CF58C1
triadic
#A158CF #CFA158 #58CFA1
tetradic
#A158CF #CF6558 #86CF58 #58C1CF
square
#A158CF #CF6558 #86CF58 #58C1CF
split-complementary
#A158CF #C1CF58 #58CF65
monochromatic
#612786 #8434B6 #A158CF #BC88DD #D7B7EA

Accessibility & contrast

On white

4.36
#A158CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#A158CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A158CF
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A158CF#FFFFFF#000000##000000
##A158CF1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3075D3
Deuteranopia (green-blind)
#4C7ACC
Tritanopia (blue-blind)
#9B6E8B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a158cf;
/* rgb */ color: rgb(161, 88, 207);
/* oklch */ color: oklch(59.7% 0.184 310.3);
Tailwind
colors: {
  custom: {
    50: '#c08ade',
    500: '#a158cf',
    950: '#000000',
  },
}
SCSS
$custom: #a158cf;
$custom-light: #c08ade;
$custom-dark: #000000;
JSON
{
  "hex": "#a158cf",
  "rgb": {
    "r": 161,
    "g": 88,
    "b": 207
  },
  "hsl": {
    "h": 276.807,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59701,
    "c": 0.18388,
    "h": 310.3
  },
  "luminance": 0.19062
}

Semantic roles & 50–950 ramp

primary
#A158CF
secondary
#BCD9AA
accent
#DF4983
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A158CF

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

Preview Lab → · Contrast checker → · Palette generator →

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