#7A3CCB#7A3CCB

#7A3CCB is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.3% C 0.208 H 298.5°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#7A3CCB
RGBrgb(122, 60, 203)
HSLhsl(266, 58%, 52%)
HSVhsv(266, 70%, 80%)
CMYKcmyk(39.9%, 70.4%, 0%, 20.4%)
CIE-LABlab(40.70, 55.04, -64.05)
CIE-LCHlch(40.70, 84.45, 310.67°)
OKLaboklab(51.33% 0.0995 -0.1829)
OKLCHoklch(51.33% 0.208 298.5)
XYZxyz(20.4186, 11.6808, 57.6672)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3CCB #8DCB3C
analogous
#3C46CB #7A3CCB #C23CCB
triadic
#7A3CCB #CB7A3C #3CCB7A
tetradic
#7A3CCB #CB3C46 #8DCB3C #3CCBC2
square
#7A3CCB #CB3C46 #8DCB3C #3CCBC2
split-complementary
#7A3CCB #CBC23C #46CB3C
monochromatic
#411E6F #5D2A9F #7A3CCB #9B6CD8 #BC9DE5

Accessibility & contrast

On white

6.29
#7A3CCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#7A3CCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3CCB
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3CCB#FFFFFF#000000##FFFFFF
##7A3CCB1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CF
Deuteranopia (green-blind)
#005FC8
Tritanopia (blue-blind)
#665F7F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7a3ccb;
/* rgb */ color: rgb(122, 60, 203);
/* oklch */ color: oklch(51.3% 0.208 298.5);
Tailwind
colors: {
  custom: {
    50: '#a777dc',
    500: '#7a3ccb',
    950: '#000000',
  },
}
SCSS
$custom: #7a3ccb;
$custom-light: #a777dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3ccb",
  "rgb": {
    "r": 122,
    "g": 60,
    "b": 203
  },
  "hsl": {
    "h": 266.014,
    "s": 57.895,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51325,
    "c": 0.20822,
    "h": 298.5
  },
  "luminance": 0.11681
}

Semantic roles & 50–950 ramp

primary
#7A3CCB
secondary
#B6D192
accent
#E1479E
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7A3CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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