#7A3CBF#7A3CBF

#7A3CBF is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.4% C 0.195 H 301.3°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#7A3CBF
RGBrgb(122, 60, 191)
HSLhsl(268, 52%, 49%)
HSVhsv(268, 69%, 75%)
CMYKcmyk(36.1%, 68.6%, 0%, 25.1%)
CIE-LABlab(39.80, 52.06, -58.53)
CIE-LCHlch(39.80, 78.33, 311.65°)
OKLaboklab(50.4% 0.1015 -0.1667)
OKLCHoklch(50.4% 0.195 301.3)
XYZxyz(19.0436, 11.1308, 50.4253)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3CBF #81BF3C
analogous
#3C40BF #7A3CBF #BC3CBF
triadic
#7A3CBF #BF7A3C #3CBF7A
tetradic
#7A3CBF #BF3C40 #81BF3C #3CBFBC
square
#7A3CBF #BF3C40 #81BF3C #3CBFBC
split-complementary
#7A3CBF #BFBC3C #40BF3C
monochromatic
#3F1F62 #5C2D90 #7A3CBF #9968D0 #B997DE

Accessibility & contrast

On white

6.51
#7A3CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#7A3CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3CBF
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3CBF#FFFFFF#000000##FFFFFF
##7A3CBF1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC3
Deuteranopia (green-blind)
#005DBC
Tritanopia (blue-blind)
#6B5B79
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7a3cbf;
/* rgb */ color: rgb(122, 60, 191);
/* oklch */ color: oklch(50.4% 0.195 301.3);
Tailwind
colors: {
  custom: {
    50: '#a676d3',
    500: '#7a3cbf',
    950: '#000000',
  },
}
SCSS
$custom: #7a3cbf;
$custom-light: #a676d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3cbf",
  "rgb": {
    "r": 122,
    "g": 60,
    "b": 191
  },
  "hsl": {
    "h": 268.397,
    "s": 52.191,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50397,
    "c": 0.19512,
    "h": 301.3
  },
  "luminance": 0.11131
}

Semantic roles & 50–950 ramp

primary
#7A3CBF
secondary
#ADCA8D
accent
#DC4C98
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7A3CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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