#7B3CC5#7B3CC5

#7B3CC5 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.0% C 0.202 H 300.3°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#7B3CC5
RGBrgb(123, 60, 197)
HSLhsl(268, 54%, 50%)
HSVhsv(268, 70%, 77%)
CMYKcmyk(37.6%, 69.5%, 0%, 22.7%)
CIE-LABlab(40.37, 53.74, -61.11)
CIE-LCHlch(40.37, 81.37, 311.33°)
OKLaboklab(50.97% 0.1019 -0.1742)
OKLCHoklch(50.97% 0.202 300.3)
XYZxyz(19.8598, 11.4737, 53.9808)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3CC5 #86C53C
analogous
#3C42C5 #7B3CC5 #BF3CC5
triadic
#7B3CC5 #C57B3C #3CC57B
tetradic
#7B3CC5 #C53C42 #86C53C #3CC5BF
square
#7B3CC5 #C53C42 #86C53C #3CC5BF
split-complementary
#7B3CC5 #C5BF3C #42C53C
monochromatic
#401F68 #5E2D97 #7B3CC5 #9B6BD3 #BB9AE1

Accessibility & contrast

On white

6.37
#7B3CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7B3CC5
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3CC5#FFFFFF#000000##FFFFFF
##7B3CC51.006.373.296.37
#FFFFFF6.371.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC9
Deuteranopia (green-blind)
#005EC2
Tritanopia (blue-blind)
#6A5D7C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7b3cc5;
/* rgb */ color: rgb(123, 60, 197);
/* oklch */ color: oklch(51.0% 0.202 300.3);
Tailwind
colors: {
  custom: {
    50: '#a777d7',
    500: '#7b3cc5',
    950: '#000000',
  },
}
SCSS
$custom: #7b3cc5;
$custom-light: #a777d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3cc5",
  "rgb": {
    "r": 123,
    "g": 60,
    "b": 197
  },
  "hsl": {
    "h": 267.591,
    "s": 54.15,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50969,
    "c": 0.20184,
    "h": 300.3
  },
  "luminance": 0.11474
}

Semantic roles & 50–950 ramp

primary
#7B3CC5
secondary
#B1CD90
accent
#DE4A9A
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7B3CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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