#7B3CC7#7B3CC7

#7B3CC7 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.1% C 0.204 H 299.9°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#7B3CC7
RGBrgb(123, 60, 199)
HSLhsl(267, 55%, 51%)
HSVhsv(267, 70%, 78%)
CMYKcmyk(38.2%, 69.8%, 0%, 22%)
CIE-LABlab(40.52, 54.23, -62.03)
CIE-LCHlch(40.52, 82.39, 311.16°)
OKLaboklab(51.12% 0.1016 -0.1769)
OKLCHoklch(51.12% 0.204 299.9)
XYZxyz(20.0905, 11.5660, 55.1958)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3CC7 #88C73C
analogous
#3C42C7 #7B3CC7 #C03CC7
triadic
#7B3CC7 #C77B3C #3CC77B
tetradic
#7B3CC7 #C73C42 #88C73C #3CC7C0
square
#7B3CC7 #C73C42 #88C73C #3CC7C0
split-complementary
#7B3CC7 #C7C03C #42C73C
monochromatic
#411E6A #5E2C9A #7B3CC7 #9B6CD5 #BB9BE2

Accessibility & contrast

On white

6.34
#7B3CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7B3CC7
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3CC7#FFFFFF#000000##FFFFFF
##7B3CC71.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCB
Deuteranopia (green-blind)
#005EC4
Tritanopia (blue-blind)
#6A5E7D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7b3cc7;
/* rgb */ color: rgb(123, 60, 199);
/* oklch */ color: oklch(51.1% 0.204 299.9);
Tailwind
colors: {
  custom: {
    50: '#a777d9',
    500: '#7b3cc7',
    950: '#000000',
  },
}
SCSS
$custom: #7b3cc7;
$custom-light: #a777d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3cc7",
  "rgb": {
    "r": 123,
    "g": 60,
    "b": 199
  },
  "hsl": {
    "h": 267.194,
    "s": 55.378,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51124,
    "c": 0.20401,
    "h": 299.9
  },
  "luminance": 0.11566
}

Semantic roles & 50–950 ramp

primary
#7B3CC7
secondary
#B2CE91
accent
#DF499B
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7B3CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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