#A34BE7#A34BE7

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

Color values

HEX#A34BE7
RGBrgb(163, 75, 231)
HSLhsl(274, 76%, 60%)
HSVhsv(274, 68%, 91%)
CMYKcmyk(29.4%, 67.5%, 0%, 9.4%)
CIE-LABlab(50.20, 62.63, -64.42)
CIE-LCHlch(50.20, 89.85, 314.19°)
OKLaboklab(59.83% 0.1354 -0.1827)
OKLCHoklch(59.83% 0.227 306.6)
XYZxyz(32.0410, 18.5885, 77.4858)
Luminance0.1859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34BE7 #8FE74B
analogous
#554BE7 #A34BE7 #E74BDD
triadic
#A34BE7 #E7A34B #4BE7A3
tetradic
#A34BE7 #E7554B #8FE74B #4BDDE7
square
#A34BE7 #E7554B #8FE74B #4BDDE7
split-complementary
#A34BE7 #DDE74B #4BE755
monochromatic
#6516A2 #861DD8 #A34BE7 #BF81EE #DAB7F5

Accessibility & contrast

On white

4.45
#A34BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#A34BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A34BE7
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A34BE7#FFFFFF#000000##000000
##A34BE71.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EC
Deuteranopia (green-blind)
#1E78E4
Tritanopia (blue-blind)
#976E93
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a34be7;
/* rgb */ color: rgb(163, 75, 231);
/* oklch */ color: oklch(59.8% 0.227 306.6);
Tailwind
colors: {
  custom: {
    50: '#c383ef',
    500: '#a34be7',
    950: '#000000',
  },
}
SCSS
$custom: #a34be7;
$custom-light: #c383ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a34be7",
  "rgb": {
    "r": 163,
    "g": 75,
    "b": 231
  },
  "hsl": {
    "h": 273.846,
    "s": 76.471,
    "l": 60
  },
  "oklch": {
    "l": 0.59827,
    "c": 0.22742,
    "h": 306.6
  },
  "luminance": 0.18588
}

Semantic roles & 50–950 ramp

primary
#A34BE7
secondary
#C3E5A9
accent
#F33588
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A34BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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