#7B3CC4#7B3CC4

#7B3CC4 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 50.9% C 0.201 H 300.6°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#7B3CC4
RGBrgb(123, 60, 196)
HSLhsl(268, 54%, 50%)
HSVhsv(268, 69%, 77%)
CMYKcmyk(37.2%, 69.4%, 0%, 23.1%)
CIE-LABlab(40.29, 53.49, -60.65)
CIE-LCHlch(40.29, 80.86, 311.41°)
OKLaboklab(50.89% 0.1021 -0.1729)
OKLCHoklch(50.89% 0.201 300.6)
XYZxyz(19.7456, 11.4280, 53.3794)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3CC4 #85C43C
analogous
#3C41C4 #7B3CC4 #BF3CC4
triadic
#7B3CC4 #C47B3C #3CC47B
tetradic
#7B3CC4 #C43C41 #85C43C #3CC4BF
square
#7B3CC4 #C43C41 #85C43C #3CC4BF
split-complementary
#7B3CC4 #C4BF3C #41C43C
monochromatic
#401F67 #5E2D96 #7B3CC4 #9B6BD2 #BB9AE0

Accessibility & contrast

On white

6.39
#7B3CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7B3CC4
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3CC4#FFFFFF#000000##FFFFFF
##7B3CC41.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC8
Deuteranopia (green-blind)
#005EC1
Tritanopia (blue-blind)
#6B5C7C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7b3cc4;
/* rgb */ color: rgb(123, 60, 196);
/* oklch */ color: oklch(50.9% 0.201 300.6);
Tailwind
colors: {
  custom: {
    50: '#a777d7',
    500: '#7b3cc4',
    950: '#000000',
  },
}
SCSS
$custom: #7b3cc4;
$custom-light: #a777d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3cc4",
  "rgb": {
    "r": 123,
    "g": 60,
    "b": 196
  },
  "hsl": {
    "h": 267.794,
    "s": 53.543,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50892,
    "c": 0.20076,
    "h": 300.6
  },
  "luminance": 0.11428
}

Semantic roles & 50–950 ramp

primary
#7B3CC4
secondary
#B0CC90
accent
#DD4B99
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7B3CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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