#7B3E9D#7B3E9D

#7B3E9D is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.4% C 0.155 H 311.6°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#7B3E9D
RGBrgb(123, 62, 157)
HSLhsl(279, 43%, 43%)
HSVhsv(279, 61%, 62%)
CMYKcmyk(21.7%, 60.5%, 0%, 38.4%)
CIE-LABlab(38.01, 43.16, -41.23)
CIE-LCHlch(38.01, 59.68, 316.31°)
OKLaboklab(48.4% 0.1029 -0.1158)
OKLCHoklch(48.4% 0.155 311.6)
XYZxyz(15.9757, 10.0909, 32.9979)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3E9D #609D3E
analogous
#4B3E9D #7B3E9D #9D3E8F
triadic
#7B3E9D #9D7B3E #3E9D7B
tetradic
#7B3E9D #9D4B3E #609D3E #3E8F9D
square
#7B3E9D #9D4B3E #609D3E #3E8F9D
split-complementary
#7B3E9D #8F9D3E #3E9D4B
monochromatic
#361B45 #592D71 #7B3E9D #9A5ABE #B586CF

Accessibility & contrast

On white

6.96
#7B3E9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#7B3E9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3E9D
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3E9D#FFFFFF#000000##FFFFFF
##7B3E9D1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C56A0
Deuteranopia (green-blind)
#365B9B
Tritanopia (blue-blind)
#774F67
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7b3e9d;
/* rgb */ color: rgb(123, 62, 157);
/* oklch */ color: oklch(48.4% 0.155 311.6);
Tailwind
colors: {
  custom: {
    50: '#a477ba',
    500: '#7b3e9d',
    950: '#000000',
  },
}
SCSS
$custom: #7b3e9d;
$custom-light: #a477ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3e9d",
  "rgb": {
    "r": 123,
    "g": 62,
    "b": 157
  },
  "hsl": {
    "h": 278.526,
    "s": 43.379,
    "l": 42.941
  },
  "oklch": {
    "l": 0.48401,
    "c": 0.15492,
    "h": 311.6
  },
  "luminance": 0.10091
}

Semantic roles & 50–950 ramp

primary
#7B3E9D
secondary
#93BA7D
accent
#D35582
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #7B3E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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