#7A3BCB#7A3BCB

#7A3BCB is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.2% C 0.209 H 298.7°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#7A3BCB
RGBrgb(122, 59, 203)
HSLhsl(266, 58%, 51%)
HSVhsv(266, 71%, 80%)
CMYKcmyk(39.9%, 70.9%, 0%, 20.4%)
CIE-LABlab(40.54, 55.51, -64.32)
CIE-LCHlch(40.54, 84.97, 310.80°)
OKLaboklab(51.21% 0.1005 -0.1837)
OKLCHoklch(51.21% 0.209 298.7)
XYZxyz(20.3668, 11.5770, 57.6499)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3BCB #8CCB3B
analogous
#3B44CB #7A3BCB #C23BCB
triadic
#7A3BCB #CB7A3B #3BCB7A
tetradic
#7A3BCB #CB3B44 #8CCB3B #3BCBC2
square
#7A3BCB #CB3B44 #8CCB3B #3BCBC2
split-complementary
#7A3BCB #CBC23B #44CB3B
monochromatic
#411D6E #5D2A9F #7A3BCB #9B6BD8 #BC9CE5

Accessibility & contrast

On white

6.33
#7A3BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#7A3BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3BCB
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3BCB#FFFFFF#000000##FFFFFF
##7A3BCB1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a3bcb;
/* rgb */ color: rgb(122, 59, 203);
/* oklch */ color: oklch(51.2% 0.209 298.7);
Tailwind
colors: {
  custom: {
    50: '#a776dc',
    500: '#7a3bcb',
    950: '#000000',
  },
}
SCSS
$custom: #7a3bcb;
$custom-light: #a776dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3bcb",
  "rgb": {
    "r": 122,
    "g": 59,
    "b": 203
  },
  "hsl": {
    "h": 266.25,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51206,
    "c": 0.20938,
    "h": 298.7
  },
  "luminance": 0.11577
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A3BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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