#7A3CBE#7A3CBE

#7A3CBE is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.3% C 0.194 H 301.6°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#7A3CBE
RGBrgb(122, 60, 190)
HSLhsl(269, 52%, 49%)
HSVhsv(269, 68%, 75%)
CMYKcmyk(35.8%, 68.4%, 0%, 25.5%)
CIE-LABlab(39.73, 51.81, -58.06)
CIE-LCHlch(39.73, 77.82, 311.74°)
OKLaboklab(50.32% 0.1016 -0.1653)
OKLCHoklch(50.32% 0.194 301.6)
XYZxyz(18.9339, 11.0869, 49.8477)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3CBE #80BE3C
analogous
#3C3FBE #7A3CBE #BB3CBE
triadic
#7A3CBE #BE7A3C #3CBE7A
tetradic
#7A3CBE #BE3C3F #80BE3C #3CBEBB
square
#7A3CBE #BE3C3F #80BE3C #3CBEBB
split-complementary
#7A3CBE #BEBB3C #3FBE3C
monochromatic
#3E1F61 #5C2D8F #7A3CBE #9968CF #B996DE

Accessibility & contrast

On white

6.53
#7A3CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#7A3CBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3CBE
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3CBE#FFFFFF#000000##FFFFFF
##7A3CBE1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC2
Deuteranopia (green-blind)
#005DBB
Tritanopia (blue-blind)
#6C5A78
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7a3cbe;
/* rgb */ color: rgb(122, 60, 190);
/* oklch */ color: oklch(50.3% 0.194 301.6);
Tailwind
colors: {
  custom: {
    50: '#a676d2',
    500: '#7a3cbe',
    950: '#000000',
  },
}
SCSS
$custom: #7a3cbe;
$custom-light: #a676d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3cbe",
  "rgb": {
    "r": 122,
    "g": 60,
    "b": 190
  },
  "hsl": {
    "h": 268.615,
    "s": 52,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50322,
    "c": 0.19403,
    "h": 301.6
  },
  "luminance": 0.11087
}

Semantic roles & 50–950 ramp

primary
#7A3CBE
secondary
#ACCA8C
accent
#DB4C97
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7A3CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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