#7A34DD#7A34DD

#7A34DD is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.9% C 0.236 H 295.7°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#7A34DD
RGBrgb(122, 52, 221)
HSLhsl(265, 71%, 54%)
HSVhsv(265, 76%, 87%)
CMYKcmyk(44.8%, 76.5%, 0%, 13.3%)
CIE-LABlab(40.92, 63.06, -74.07)
CIE-LCHlch(40.92, 97.27, 310.41°)
OKLaboklab(51.93% 0.1024 -0.2123)
OKLCHoklch(51.93% 0.236 295.7)
XYZxyz(22.3017, 11.8135, 69.4978)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A34DD #97DD34
analogous
#3442DD #7A34DD #CE34DD
triadic
#7A34DD #DD7A34 #34DD7A
tetradic
#7A34DD #DD3442 #97DD34 #34DDCE
square
#7A34DD #DD3442 #97DD34 #34DDCE
split-complementary
#7A34DD #DDCE34 #42DD34
monochromatic
#421681 #5D1EB5 #7A34DD #9C68E6 #BF9DEF

Accessibility & contrast

On white

6.24
#7A34DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#7A34DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A34DD
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A34DD#FFFFFF#000000##FFFFFF
##7A34DD1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E2
Deuteranopia (green-blind)
#005EDA
Tritanopia (blue-blind)
#5E6288
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7a34dd;
/* rgb */ color: rgb(122, 52, 221);
/* oklch */ color: oklch(51.9% 0.236 295.7);
Tailwind
colors: {
  custom: {
    50: '#a973e9',
    500: '#7a34dd',
    950: '#000000',
  },
}
SCSS
$custom: #7a34dd;
$custom-light: #a973e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a34dd",
  "rgb": {
    "r": 122,
    "g": 52,
    "b": 221
  },
  "hsl": {
    "h": 264.852,
    "s": 71.308,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51929,
    "c": 0.23565,
    "h": 295.7
  },
  "luminance": 0.11814
}

Semantic roles & 50–950 ramp

primary
#7A34DD
secondary
#BDDB92
accent
#EE3AA3
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7A34DD

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

Preview Lab → · Contrast checker → · Palette generator →

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