#7B3FC4#7B3FC4

#7B3FC4 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.3% C 0.197 H 300.2°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#7B3FC4
RGBrgb(123, 63, 196)
HSLhsl(267, 53%, 51%)
HSVhsv(267, 68%, 77%)
CMYKcmyk(37.2%, 67.9%, 0%, 23.1%)
CIE-LABlab(40.82, 52.03, -59.79)
CIE-LCHlch(40.82, 79.26, 311.03°)
OKLaboklab(51.27% 0.099 -0.1704)
OKLCHoklch(51.27% 0.197 300.2)
XYZxyz(19.9072, 11.7513, 53.4333)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3FC4 #88C43F
analogous
#3F45C4 #7B3FC4 #BE3FC4
triadic
#7B3FC4 #C47B3F #3FC47B
tetradic
#7B3FC4 #C43F45 #88C43F #3FC4BE
square
#7B3FC4 #C43F45 #88C43F #3FC4BE
split-complementary
#7B3FC4 #C4BE3F #45C43F
monochromatic
#412068 #5E2E97 #7B3FC4 #9B6ED2 #BB9DE1

Accessibility & contrast

On white

6.27
#7B3FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#7B3FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3FC4
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3FC4#FFFFFF#000000##FFFFFF
##7B3FC41.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C8
Deuteranopia (green-blind)
#005FC1
Tritanopia (blue-blind)
#6B5E7C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7b3fc4;
/* rgb */ color: rgb(123, 63, 196);
/* oklch */ color: oklch(51.3% 0.197 300.2);
Tailwind
colors: {
  custom: {
    50: '#a778d7',
    500: '#7b3fc4',
    950: '#000000',
  },
}
SCSS
$custom: #7b3fc4;
$custom-light: #a778d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3fc4",
  "rgb": {
    "r": 123,
    "g": 63,
    "b": 196
  },
  "hsl": {
    "h": 267.068,
    "s": 52.988,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51268,
    "c": 0.19703,
    "h": 300.2
  },
  "luminance": 0.11751
}

Semantic roles & 50–950 ramp

primary
#7B3FC4
secondary
#B2CD92
accent
#DC4B9B
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7B3FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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