#7B3CC8#7B3CC8

#7B3CC8 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.2% C 0.205 H 299.6°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#7B3CC8
RGBrgb(123, 60, 200)
HSLhsl(267, 56%, 51%)
HSVhsv(267, 70%, 78%)
CMYKcmyk(38.5%, 70%, 0%, 21.6%)
CIE-LABlab(40.59, 54.48, -62.48)
CIE-LCHlch(40.59, 82.90, 311.09°)
OKLaboklab(51.2% 0.1014 -0.1783)
OKLCHoklch(51.2% 0.205 299.6)
XYZxyz(20.2070, 11.6126, 55.8092)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3CC8 #89C83C
analogous
#3C43C8 #7B3CC8 #C13CC8
triadic
#7B3CC8 #C87B3C #3CC87B
tetradic
#7B3CC8 #C83C43 #89C83C #3CC8C1
square
#7B3CC8 #C83C43 #89C83C #3CC8C1
split-complementary
#7B3CC8 #C8C13C #43C83C
monochromatic
#411E6B #5E2C9B #7B3CC8 #9B6CD5 #BC9BE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B3CC8#FFFFFF#000000##FFFFFF
##7B3CC81.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)
#005FCC
Deuteranopia (green-blind)
#005FC5
Tritanopia (blue-blind)
#695E7E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7b3cc8;
/* rgb */ color: rgb(123, 60, 200);
/* oklch */ color: oklch(51.2% 0.205 299.6);
Tailwind
colors: {
  custom: {
    50: '#a777da',
    500: '#7b3cc8',
    950: '#000000',
  },
}
SCSS
$custom: #7b3cc8;
$custom-light: #a777da;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3cc8",
  "rgb": {
    "r": 123,
    "g": 60,
    "b": 200
  },
  "hsl": {
    "h": 267,
    "s": 56,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51201,
    "c": 0.2051,
    "h": 299.6
  },
  "luminance": 0.11613
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B3CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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