#7B3CB7#7B3CB7

#7B3CB7 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.9% C 0.187 H 303.8°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#7B3CB7
RGBrgb(123, 60, 183)
HSLhsl(271, 51%, 48%)
HSVhsv(271, 67%, 72%)
CMYKcmyk(32.8%, 67.2%, 0%, 28.2%)
CIE-LABlab(39.35, 50.31, -54.56)
CIE-LCHlch(39.35, 74.22, 312.68°)
OKLaboklab(49.92% 0.1039 -0.155)
OKLCHoklch(49.92% 0.187 303.8)
XYZxyz(18.3295, 10.8616, 45.9214)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3CB7 #78B73C
analogous
#3E3CB7 #7B3CB7 #B73CB5
triadic
#7B3CB7 #B77B3C #3CB77B
tetradic
#7B3CB7 #B73E3C #78B73C #3CB5B7
square
#7B3CB7 #B73E3C #78B73C #3CB5B7
split-complementary
#7B3CB7 #B5B73C #3CB73E
monochromatic
#3D1E5B #5C2D89 #7B3CB7 #9964CC #B892DB

Accessibility & contrast

On white

6.62
#7B3CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#7B3CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3CB7
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3CB7#FFFFFF#000000##FFFFFF
##7B3CB71.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#0C5DB4
Tritanopia (blue-blind)
#705774
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7b3cb7;
/* rgb */ color: rgb(123, 60, 183);
/* oklch */ color: oklch(49.9% 0.187 303.8);
Tailwind
colors: {
  custom: {
    50: '#a676cd',
    500: '#7b3cb7',
    950: '#000000',
  },
}
SCSS
$custom: #7b3cb7;
$custom-light: #a676cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3cb7",
  "rgb": {
    "r": 123,
    "g": 60,
    "b": 183
  },
  "hsl": {
    "h": 270.732,
    "s": 50.617,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49918,
    "c": 0.18655,
    "h": 303.8
  },
  "luminance": 0.10862
}

Semantic roles & 50–950 ramp

primary
#7B3CB7
secondary
#A7C688
accent
#DA4E92
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7B3CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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