#7A34C9#7A34C9

#7A34C9 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.3% C 0.215 H 299.9°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#7A34C9
RGBrgb(122, 52, 201)
HSLhsl(268, 59%, 50%)
HSVhsv(268, 74%, 79%)
CMYKcmyk(39.3%, 74.1%, 0%, 21.2%)
CIE-LABlab(39.26, 58.18, -65.24)
CIE-LCHlch(39.26, 87.42, 311.73°)
OKLaboklab(50.25% 0.1074 -0.1864)
OKLCHoklch(50.25% 0.215 299.9)
XYZxyz(19.7940, 10.8104, 56.2908)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A34C9 #83C934
analogous
#3439C9 #7A34C9 #C534C9
triadic
#7A34C9 #C97A34 #34C97A
tetradic
#7A34C9 #C93439 #83C934 #34C9C5
square
#7A34C9 #C93439 #83C934 #34C9C5
split-complementary
#7A34C9 #C9C534 #39C934
monochromatic
#3F1B68 #5C2798 #7A34C9 #9A63D7 #B994E3

Accessibility & contrast

On white

6.64
#7A34C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#7A34C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A34C9
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A34C9#FFFFFF#000000##FFFFFF
##7A34C91.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCD
Deuteranopia (green-blind)
#005BC6
Tritanopia (blue-blind)
#685A7C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7a34c9;
/* rgb */ color: rgb(122, 52, 201);
/* oklch */ color: oklch(50.3% 0.215 299.9);
Tailwind
colors: {
  custom: {
    50: '#a772da',
    500: '#7a34c9',
    950: '#000000',
  },
}
SCSS
$custom: #7a34c9;
$custom-light: #a772da;
$custom-dark: #000000;
JSON
{
  "hex": "#7a34c9",
  "rgb": {
    "r": 122,
    "g": 52,
    "b": 201
  },
  "hsl": {
    "h": 268.188,
    "s": 58.893,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50254,
    "c": 0.21507,
    "h": 299.9
  },
  "luminance": 0.10811
}

Semantic roles & 50–950 ramp

primary
#7A34C9
secondary
#AECE8A
accent
#E24699
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7A34C9

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

Preview Lab → · Contrast checker → · Palette generator →

#7A34C9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva