#A34FCB#A34FCB

#A34FCB is a mid, vivid purple. Relative luminance 0.177; OKLCH L 58.5% C 0.194 H 313.2°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#A34FCB
RGBrgb(163, 79, 203)
HSLhsl(281, 54%, 55%)
HSVhsv(281, 61%, 80%)
CMYKcmyk(19.7%, 61.1%, 0%, 20.4%)
CIE-LABlab(49.12, 54.67, -50.22)
CIE-LCHlch(49.12, 74.23, 317.43°)
OKLaboklab(58.49% 0.1326 -0.141)
OKLCHoklch(58.49% 0.194 313.2)
XYZxyz(28.6779, 17.6911, 58.3924)
Luminance0.1769 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34FCB #77CB4F
analogous
#654FCB #A34FCB #CB4FB5
triadic
#A34FCB #CBA34F #4FCBA3
tetradic
#A34FCB #CB654F #77CB4F #4FB5CB
square
#A34FCB #CB654F #77CB4F #4FB5CB
split-complementary
#A34FCB #B5CB4F #4FCB65
monochromatic
#5F247B #8432AA #A34FCB #BC7ED9 #D4ADE7

Accessibility & contrast

On white

4.63
#A34FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#A34FCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A34FCB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A34FCB#FFFFFF#000000##FFFFFF
##A34FCB1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2270CF
Deuteranopia (green-blind)
#4877C8
Tritanopia (blue-blind)
#9F6686
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a34fcb;
/* rgb */ color: rgb(163, 79, 203);
/* oklch */ color: oklch(58.5% 0.194 313.2);
Tailwind
colors: {
  custom: {
    50: '#c185db',
    500: '#a34fcb',
    950: '#000000',
  },
}
SCSS
$custom: #a34fcb;
$custom-light: #c185db;
$custom-dark: #000000;
JSON
{
  "hex": "#a34fcb",
  "rgb": {
    "r": 163,
    "g": 79,
    "b": 203
  },
  "hsl": {
    "h": 280.645,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.58485,
    "c": 0.1936,
    "h": 313.2
  },
  "luminance": 0.1769
}

Semantic roles & 50–950 ramp

primary
#A34FCB
secondary
#B2D5A1
accent
#DE4A7A
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A34FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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