#A34FEA#A34FEA

#A34FEA is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.5% C 0.226 H 305.5°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#A34FEA
RGBrgb(163, 79, 234)
HSLhsl(273, 79%, 61%)
HSVhsv(273, 66%, 92%)
CMYKcmyk(30.3%, 66.2%, 0%, 8.2%)
CIE-LABlab(51.06, 61.48, -64.72)
CIE-LCHlch(51.06, 89.27, 313.53°)
OKLaboklab(60.5% 0.1309 -0.1836)
OKLCHoklch(60.5% 0.226 305.5)
XYZxyz(32.7483, 19.3192, 79.8297)
Luminance0.1932 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34FEA #96EA4F
analogous
#564FEA #A34FEA #EA4FE4
triadic
#A34FEA #EAA34F #4FEAA3
tetradic
#A34FEA #EA564F #96EA4F #4FE4EA
square
#A34FEA #EA564F #96EA4F #4FE4EA
split-complementary
#A34FEA #E4EA4F #4FEA56
monochromatic
#6614AA #861BE1 #A34FEA #C086F1 #DCBCF7

Accessibility & contrast

On white

4.32
#A34FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#A34FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A34FEA
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A34FEA#FFFFFF#000000##000000
##A34FEA1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EF
Deuteranopia (green-blind)
#207AE7
Tritanopia (blue-blind)
#967196
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a34fea;
/* rgb */ color: rgb(163, 79, 234);
/* oklch */ color: oklch(60.5% 0.226 305.5);
Tailwind
colors: {
  custom: {
    50: '#c386f2',
    500: '#a34fea',
    950: '#000000',
  },
}
SCSS
$custom: #a34fea;
$custom-light: #c386f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a34fea",
  "rgb": {
    "r": 163,
    "g": 79,
    "b": 234
  },
  "hsl": {
    "h": 272.516,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.60504,
    "c": 0.2255,
    "h": 305.5
  },
  "luminance": 0.19319
}

Semantic roles & 50–950 ramp

primary
#A34FEA
secondary
#C8E7AD
accent
#DB0B6A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A34FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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