#A174CB#A174CB

#A174CB is a light, vivid violet. Relative luminance 0.244; OKLCH L 63.9% C 0.134 H 306.8°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#A174CB
RGBrgb(161, 116, 203)
HSLhsl(271, 46%, 63%)
HSVhsv(271, 43%, 80%)
CMYKcmyk(20.7%, 42.9%, 0%, 20.4%)
CIE-LABlab(56.47, 34.47, -38.59)
CIE-LCHlch(56.47, 51.74, 311.77°)
OKLaboklab(63.87% 0.0804 -0.1074)
OKLCHoklch(63.87% 0.134 306.8)
XYZxyz(31.7207, 24.3799, 59.5230)
Luminance0.2438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A174CB #9ECB74
analogous
#7574CB #A174CB #CB74CA
triadic
#A174CB #CBA174 #74CBA1
tetradic
#A174CB #CB7574 #9ECB74 #74CACB
square
#A174CB #CB7574 #9ECB74 #74CACB
split-complementary
#A174CB #CACB74 #74CB75
monochromatic
#64368F #8347BA #A174CB #BFA1DC #DDCDEC

Accessibility & contrast

On white

3.57
#A174CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#A174CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A174CB
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A174CB#FFFFFF#000000##000000
##A174CB1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6086CE
Deuteranopia (green-blind)
#6A88C9
Tritanopia (blue-blind)
#9B8296
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a174cb;
/* rgb */ color: rgb(161, 116, 203);
/* oklch */ color: oklch(63.9% 0.134 306.8);
Tailwind
colors: {
  custom: {
    50: '#be9ddb',
    500: '#a174cb',
    950: '#000000',
  },
}
SCSS
$custom: #a174cb;
$custom-light: #be9ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#a174cb",
  "rgb": {
    "r": 161,
    "g": 116,
    "b": 203
  },
  "hsl": {
    "h": 271.034,
    "s": 45.55,
    "l": 62.549
  },
  "oklch": {
    "l": 0.63868,
    "c": 0.13417,
    "h": 306.8
  },
  "luminance": 0.2438
}

Semantic roles & 50–950 ramp

primary
#A174CB
secondary
#CDDDBE
accent
#B92D70
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A174CB

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

Preview Lab → · Contrast checker → · Palette generator →

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