#7A3CC8#7A3CC8

#7A3CC8 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.1% C 0.205 H 299.2°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#7A3CC8
RGBrgb(122, 60, 200)
HSLhsl(267, 56%, 51%)
HSVhsv(267, 70%, 78%)
CMYKcmyk(39%, 70%, 0%, 21.6%)
CIE-LABlab(40.47, 54.29, -62.68)
CIE-LCHlch(40.47, 82.93, 310.90°)
OKLaboklab(51.09% 0.1 -0.1789)
OKLCHoklch(51.09% 0.205 299.2)
XYZxyz(20.0646, 11.5392, 55.8026)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3CC8 #8AC83C
analogous
#3C44C8 #7A3CC8 #C03CC8
triadic
#7A3CC8 #C87A3C #3CC87A
tetradic
#7A3CC8 #C83C44 #8AC83C #3CC8C0
square
#7A3CC8 #C83C44 #8AC83C #3CC8C0
split-complementary
#7A3CC8 #C8C03C #44C83C
monochromatic
#401E6B #5D2C9B #7A3CC8 #9B6CD5 #BB9BE3

Accessibility & contrast

On white

6.35
#7A3CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#7A3CC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3CC8
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3CC8#FFFFFF#000000##FFFFFF
##7A3CC81.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a3cc8;
/* rgb */ color: rgb(122, 60, 200);
/* oklch */ color: oklch(51.1% 0.205 299.2);
Tailwind
colors: {
  custom: {
    50: '#a777da',
    500: '#7a3cc8',
    950: '#000000',
  },
}
SCSS
$custom: #7a3cc8;
$custom-light: #a777da;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3cc8",
  "rgb": {
    "r": 122,
    "g": 60,
    "b": 200
  },
  "hsl": {
    "h": 266.571,
    "s": 56,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5109,
    "c": 0.20495,
    "h": 299.2
  },
  "luminance": 0.11539
}

Semantic roles & 50–950 ramp

primary
#7A3CC8
secondary
#B3CF91
accent
#DF499D
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7A3CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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