#A34FCF#A34FCF

#A34FCF is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.7% C 0.198 H 312.1°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#A34FCF
RGBrgb(163, 79, 207)
HSLhsl(279, 57%, 56%)
HSVhsv(279, 62%, 81%)
CMYKcmyk(21.3%, 61.8%, 0%, 18.8%)
CIE-LABlab(49.36, 55.52, -52.13)
CIE-LCHlch(49.36, 76.16, 316.80°)
OKLaboklab(58.73% 0.1326 -0.1466)
OKLCHoklch(58.73% 0.198 312.1)
XYZxyz(29.1607, 17.8842, 60.9353)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34FCF #7BCF4F
analogous
#634FCF #A34FCF #CF4FBB
triadic
#A34FCF #CFA34F #4FCFA3
tetradic
#A34FCF #CF634F #7BCF4F #4FBBCF
square
#A34FCF #CF634F #7BCF4F #4FBBCF
split-complementary
#A34FCF #BBCF4F #4FCF63
monochromatic
#602381 #8430B1 #A34FCF #BC7FDC #D5AFE9

Accessibility & contrast

On white

4.59
#A34FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#A34FCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A34FCF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A34FCF#FFFFFF#000000##FFFFFF
##A34FCF1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A71D3
Deuteranopia (green-blind)
#4577CC
Tritanopia (blue-blind)
#9E6788
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a34fcf;
/* rgb */ color: rgb(163, 79, 207);
/* oklch */ color: oklch(58.7% 0.198 312.1);
Tailwind
colors: {
  custom: {
    50: '#c285de',
    500: '#a34fcf',
    950: '#000000',
  },
}
SCSS
$custom: #a34fcf;
$custom-light: #c285de;
$custom-dark: #000000;
JSON
{
  "hex": "#a34fcf",
  "rgb": {
    "r": 163,
    "g": 79,
    "b": 207
  },
  "hsl": {
    "h": 279.375,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58733,
    "c": 0.1977,
    "h": 312.1
  },
  "luminance": 0.17883
}

Semantic roles & 50–950 ramp

primary
#A34FCF
secondary
#B5D7A2
accent
#E0477C
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A34FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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