#A34FEC#A34FEC

#A34FEC is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.6% C 0.228 H 305.1°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#A34FEC
RGBrgb(163, 79, 236)
HSLhsl(272, 81%, 62%)
HSVhsv(272, 67%, 93%)
CMYKcmyk(30.9%, 66.5%, 0%, 7.5%)
CIE-LABlab(51.19, 61.93, -65.63)
CIE-LCHlch(51.19, 90.24, 313.34°)
OKLaboklab(60.64% 0.1307 -0.1863)
OKLCHoklch(60.64% 0.228 305.1)
XYZxyz(33.0372, 19.4348, 81.3515)
Luminance0.1943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34FEC #98EC4F
analogous
#554FEC #A34FEC #EC4FE7
triadic
#A34FEC #ECA34F #4FECA3
tetradic
#A34FEC #EC554F #98EC4F #4FE7EC
square
#A34FEC #EC554F #98EC4F #4FE7EC
split-complementary
#A34FEC #E7EC4F #4FEC55
monochromatic
#6613AE #8619E5 #A34FEC #C086F2 #DDBDF8

Accessibility & contrast

On white

4.30
#A34FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#A34FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A34FEC
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A34FEC#FFFFFF#000000##000000
##A34FEC1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F1
Deuteranopia (green-blind)
#1A7AE9
Tritanopia (blue-blind)
#967297
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a34fec;
/* rgb */ color: rgb(163, 79, 236);
/* oklch */ color: oklch(60.6% 0.228 305.1);
Tailwind
colors: {
  custom: {
    50: '#c386f3',
    500: '#a34fec',
    950: '#000000',
  },
}
SCSS
$custom: #a34fec;
$custom-light: #c386f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a34fec",
  "rgb": {
    "r": 163,
    "g": 79,
    "b": 236
  },
  "hsl": {
    "h": 272.102,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60642,
    "c": 0.22756,
    "h": 305.1
  },
  "luminance": 0.19435
}

Semantic roles & 50–950 ramp

primary
#A34FEC
secondary
#C9E8AE
accent
#DD096B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A34FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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