#7B3FC1#7B3FC1

#7B3FC1 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.0% C 0.194 H 300.9°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#7B3FC1
RGBrgb(123, 63, 193)
HSLhsl(268, 51%, 50%)
HSVhsv(268, 67%, 76%)
CMYKcmyk(36.3%, 67.4%, 0%, 24.3%)
CIE-LABlab(40.60, 51.28, -58.40)
CIE-LCHlch(40.60, 77.72, 311.29°)
OKLaboklab(51.04% 0.0994 -0.1663)
OKLCHoklch(51.04% 0.194 300.9)
XYZxyz(19.5692, 11.6161, 51.6529)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3FC1 #85C13F
analogous
#3F44C1 #7B3FC1 #BC3FC1
triadic
#7B3FC1 #C17B3F #3FC17B
tetradic
#7B3FC1 #C13F44 #85C13F #3FC1BC
square
#7B3FC1 #C13F44 #85C13F #3FC1BC
split-complementary
#7B3FC1 #C1BC3F #44C13F
monochromatic
#402165 #5E3093 #7B3FC1 #9B6DD0 #BB9CDF

Accessibility & contrast

On white

6.32
#7B3FC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7B3FC1
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3FC1#FFFFFF#000000##FFFFFF
##7B3FC11.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC5
Deuteranopia (green-blind)
#005FBE
Tritanopia (blue-blind)
#6C5D7B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7b3fc1;
/* rgb */ color: rgb(123, 63, 193);
/* oklch */ color: oklch(51.0% 0.194 300.9);
Tailwind
colors: {
  custom: {
    50: '#a678d5',
    500: '#7b3fc1',
    950: '#000000',
  },
}
SCSS
$custom: #7b3fc1;
$custom-light: #a678d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3fc1",
  "rgb": {
    "r": 123,
    "g": 63,
    "b": 193
  },
  "hsl": {
    "h": 267.692,
    "s": 51.181,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51042,
    "c": 0.1937,
    "h": 300.9
  },
  "luminance": 0.11616
}

Semantic roles & 50–950 ramp

primary
#7B3FC1
secondary
#B0CB91
accent
#DB4D99
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7B3FC1

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

Preview Lab → · Contrast checker → · Palette generator →

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