#7A3BC8#7A3BC8

#7A3BC8 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.0% C 0.206 H 299.3°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#7A3BC8
RGBrgb(122, 59, 200)
HSLhsl(267, 56%, 51%)
HSVhsv(267, 71%, 78%)
CMYKcmyk(39%, 70.5%, 0%, 21.6%)
CIE-LABlab(40.30, 54.77, -62.96)
CIE-LCHlch(40.30, 83.45, 311.02°)
OKLaboklab(50.97% 0.101 -0.1797)
OKLCHoklch(50.97% 0.206 299.3)
XYZxyz(20.0127, 11.4354, 55.7853)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3BC8 #89C83B
analogous
#3B42C8 #7A3BC8 #C13BC8
triadic
#7A3BC8 #C87A3B #3BC87A
tetradic
#7A3BC8 #C83B42 #89C83B #3BC8C1
square
#7A3BC8 #C83B42 #89C83B #3BC8C1
split-complementary
#7A3BC8 #C8C13B #42C83B
monochromatic
#401E6B #5D2B9A #7A3BC8 #9A6BD5 #BB9BE3

Accessibility & contrast

On white

6.39
#7A3BC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#7A3BC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3BC8
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3BC8#FFFFFF#000000##FFFFFF
##7A3BC81.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCC
Deuteranopia (green-blind)
#005EC5
Tritanopia (blue-blind)
#685E7D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7a3bc8;
/* rgb */ color: rgb(122, 59, 200);
/* oklch */ color: oklch(51.0% 0.206 299.3);
Tailwind
colors: {
  custom: {
    50: '#a776da',
    500: '#7a3bc8',
    950: '#000000',
  },
}
SCSS
$custom: #7a3bc8;
$custom-light: #a776da;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3bc8",
  "rgb": {
    "r": 122,
    "g": 59,
    "b": 200
  },
  "hsl": {
    "h": 266.809,
    "s": 56.175,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50969,
    "c": 0.20614,
    "h": 299.3
  },
  "luminance": 0.11436
}

Semantic roles & 50–950 ramp

primary
#7A3BC8
secondary
#B3CF90
accent
#DF489C
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7A3BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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