#A34FD8#A34FD8

#A34FD8 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.3% C 0.207 H 309.7°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#A34FD8
RGBrgb(163, 79, 216)
HSLhsl(277, 64%, 58%)
HSVhsv(277, 63%, 85%)
CMYKcmyk(24.5%, 63.4%, 0%, 15.3%)
CIE-LABlab(49.90, 57.47, -56.40)
CIE-LCHlch(49.90, 80.52, 315.54°)
OKLaboklab(59.3% 0.1323 -0.1592)
OKLCHoklch(59.3% 0.207 309.7)
XYZxyz(30.2925, 18.3369, 66.8960)
Luminance0.1834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34FD8 #84D84F
analogous
#5E4FD8 #A34FD8 #D84FC9
triadic
#A34FD8 #D8A34F #4FD8A3
tetradic
#A34FD8 #D85E4F #84D84F #4FC9D8
square
#A34FD8 #D85E4F #84D84F #4FC9D8
split-complementary
#A34FD8 #C9D84F #4FD85E
monochromatic
#631F8D #862ABF #A34FD8 #BD81E3 #D7B3EE

Accessibility & contrast

On white

4.50
#A34FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#A34FD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A34FD8
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A34FD8#FFFFFF#000000##000000
##A34FD81.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073DC
Deuteranopia (green-blind)
#3C78D5
Tritanopia (blue-blind)
#9C6A8D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a34fd8;
/* rgb */ color: rgb(163, 79, 216);
/* oklch */ color: oklch(59.3% 0.207 309.7);
Tailwind
colors: {
  custom: {
    50: '#c285e5',
    500: '#a34fd8',
    950: '#000000',
  },
}
SCSS
$custom: #a34fd8;
$custom-light: #c285e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a34fd8",
  "rgb": {
    "r": 163,
    "g": 79,
    "b": 216
  },
  "hsl": {
    "h": 276.788,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59304,
    "c": 0.20696,
    "h": 309.7
  },
  "luminance": 0.18336
}

Semantic roles & 50–950 ramp

primary
#A34FD8
secondary
#BBDDA6
accent
#E74181
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A34FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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