#7A3BC7#7A3BC7

#7A3BC7 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 50.9% C 0.205 H 299.6°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#7A3BC7
RGBrgb(122, 59, 199)
HSLhsl(267, 56%, 51%)
HSVhsv(267, 70%, 78%)
CMYKcmyk(38.7%, 70.4%, 0%, 22%)
CIE-LABlab(40.23, 54.52, -62.50)
CIE-LCHlch(40.23, 82.94, 311.10°)
OKLaboklab(50.89% 0.1012 -0.1783)
OKLCHoklch(50.89% 0.205 299.6)
XYZxyz(19.8962, 11.3888, 55.1718)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3BC7 #88C73B
analogous
#3B42C7 #7A3BC7 #C03BC7
triadic
#7A3BC7 #C77A3B #3BC77A
tetradic
#7A3BC7 #C73B42 #88C73B #3BC7C0
square
#7A3BC7 #C73B42 #88C73B #3BC7C0
split-complementary
#7A3BC7 #C7C03B #42C73B
monochromatic
#401E69 #5D2C99 #7A3BC7 #9A6BD5 #BB9AE2

Accessibility & contrast

On white

6.41
#7A3BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#7A3BC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3BC7
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3BC7#FFFFFF#000000##FFFFFF
##7A3BC71.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCB
Deuteranopia (green-blind)
#005EC4
Tritanopia (blue-blind)
#685D7D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7a3bc7;
/* rgb */ color: rgb(122, 59, 199);
/* oklch */ color: oklch(50.9% 0.205 299.6);
Tailwind
colors: {
  custom: {
    50: '#a776d9',
    500: '#7a3bc7',
    950: '#000000',
  },
}
SCSS
$custom: #7a3bc7;
$custom-light: #a776d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3bc7",
  "rgb": {
    "r": 122,
    "g": 59,
    "b": 199
  },
  "hsl": {
    "h": 267,
    "s": 55.556,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50891,
    "c": 0.20505,
    "h": 299.6
  },
  "luminance": 0.11389
}

Semantic roles & 50–950 ramp

primary
#7A3BC7
secondary
#B2CE90
accent
#DF499B
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7A3BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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