#7B3E9C#7B3E9C

#7B3E9C is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.3% C 0.154 H 312.0°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#7B3E9C
RGBrgb(123, 62, 156)
HSLhsl(279, 43%, 43%)
HSVhsv(279, 60%, 61%)
CMYKcmyk(21.2%, 60.3%, 0%, 38.8%)
CIE-LABlab(37.94, 42.93, -40.72)
CIE-LCHlch(37.94, 59.17, 316.51°)
OKLaboklab(48.34% 0.1028 -0.1144)
OKLCHoklch(48.34% 0.154 312)
XYZxyz(15.8907, 10.0569, 32.5501)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3E9C #5F9C3E
analogous
#4C3E9C #7B3E9C #9C3E8E
triadic
#7B3E9C #9C7B3E #3E9C7B
tetradic
#7B3E9C #9C4C3E #5F9C3E #3E8E9C
square
#7B3E9C #9C4C3E #5F9C3E #3E8E9C
split-complementary
#7B3E9C #8E9C3E #3E9C4C
monochromatic
#361B44 #582D70 #7B3E9C #9A5ABD #B586CF

Accessibility & contrast

On white

6.97
#7B3E9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#7B3E9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3E9C
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3E9C#FFFFFF#000000##FFFFFF
##7B3E9C1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E569F
Deuteranopia (green-blind)
#375B9A
Tritanopia (blue-blind)
#774F67
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7b3e9c;
/* rgb */ color: rgb(123, 62, 156);
/* oklch */ color: oklch(48.3% 0.154 312.0);
Tailwind
colors: {
  custom: {
    50: '#a476ba',
    500: '#7b3e9c',
    950: '#000000',
  },
}
SCSS
$custom: #7b3e9c;
$custom-light: #a476ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3e9c",
  "rgb": {
    "r": 123,
    "g": 62,
    "b": 156
  },
  "hsl": {
    "h": 278.936,
    "s": 43.119,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48337,
    "c": 0.15381,
    "h": 312
  },
  "luminance": 0.10057
}

Semantic roles & 50–950 ramp

primary
#7B3E9C
secondary
#92B97D
accent
#D35581
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #7B3E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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