#7B3FC2#7B3FC2

#7B3FC2 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.1% C 0.195 H 300.6°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#7B3FC2
RGBrgb(123, 63, 194)
HSLhsl(267, 52%, 50%)
HSVhsv(267, 68%, 76%)
CMYKcmyk(36.6%, 67.5%, 0%, 23.9%)
CIE-LABlab(40.67, 51.53, -58.86)
CIE-LCHlch(40.67, 78.23, 311.20°)
OKLaboklab(51.12% 0.0993 -0.1676)
OKLCHoklch(51.12% 0.195 300.6)
XYZxyz(19.6811, 11.6609, 52.2424)
Luminance0.1166 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3FC2 #86C23F
analogous
#3F44C2 #7B3FC2 #BD3FC2
triadic
#7B3FC2 #C27B3F #3FC27B
tetradic
#7B3FC2 #C23F44 #86C23F #3FC2BD
square
#7B3FC2 #C23F44 #86C23F #3FC2BD
split-complementary
#7B3FC2 #C2BD3F #44C23F
monochromatic
#402066 #5E2F95 #7B3FC2 #9B6DD1 #BB9CE0

Accessibility & contrast

On white

6.30
#7B3FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#7B3FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3FC2
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3FC2#FFFFFF#000000##FFFFFF
##7B3FC21.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#005FBF
Tritanopia (blue-blind)
#6B5D7B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7b3fc2;
/* rgb */ color: rgb(123, 63, 194);
/* oklch */ color: oklch(51.1% 0.195 300.6);
Tailwind
colors: {
  custom: {
    50: '#a778d5',
    500: '#7b3fc2',
    950: '#000000',
  },
}
SCSS
$custom: #7b3fc2;
$custom-light: #a778d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3fc2",
  "rgb": {
    "r": 123,
    "g": 63,
    "b": 194
  },
  "hsl": {
    "h": 267.481,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51117,
    "c": 0.19481,
    "h": 300.6
  },
  "luminance": 0.11661
}

Semantic roles & 50–950 ramp

primary
#7B3FC2
secondary
#B1CC91
accent
#DB4D9A
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7B3FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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