#7A3BCF#7A3BCF

#7A3BCF is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.5% C 0.214 H 297.8°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#7A3BCF
RGBrgb(122, 59, 207)
HSLhsl(266, 61%, 52%)
HSVhsv(266, 71%, 81%)
CMYKcmyk(41.1%, 71.5%, 0%, 18.8%)
CIE-LABlab(40.85, 56.51, -66.13)
CIE-LCHlch(40.85, 86.99, 310.52°)
OKLaboklab(51.53% 0.0997 -0.189)
OKLCHoklch(51.53% 0.214 297.8)
XYZxyz(20.8496, 11.7701, 60.1928)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3BCF #90CF3B
analogous
#3B46CF #7A3BCF #C43BCF
triadic
#7A3BCF #CF7A3B #3BCF7A
tetradic
#7A3BCF #CF3B46 #90CF3B #3BCFC4
square
#7A3BCF #CF3B46 #90CF3B #3BCFC4
split-complementary
#7A3BCF #CFC43B #46CF3B
monochromatic
#411C73 #5D28A5 #7A3BCF #9B6CDB #BD9DE7

Accessibility & contrast

On white

6.26
#7A3BCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#7A3BCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3BCF
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3BCF#FFFFFF#000000##FFFFFF
##7A3BCF1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D3
Deuteranopia (green-blind)
#005FCC
Tritanopia (blue-blind)
#656081
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7a3bcf;
/* rgb */ color: rgb(122, 59, 207);
/* oklch */ color: oklch(51.5% 0.214 297.8);
Tailwind
colors: {
  custom: {
    50: '#a776df',
    500: '#7a3bcf',
    950: '#000000',
  },
}
SCSS
$custom: #7a3bcf;
$custom-light: #a776df;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3bcf",
  "rgb": {
    "r": 122,
    "g": 59,
    "b": 207
  },
  "hsl": {
    "h": 265.541,
    "s": 60.656,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51525,
    "c": 0.21369,
    "h": 297.8
  },
  "luminance": 0.1177
}

Semantic roles & 50–950 ramp

primary
#7A3BCF
secondary
#B8D393
accent
#E444A0
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7A3BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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