#7B3EC5#7B3EC5

#7B3EC5 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.2% C 0.199 H 300.1°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#7B3EC5
RGBrgb(123, 62, 197)
HSLhsl(267, 54%, 51%)
HSVhsv(267, 69%, 77%)
CMYKcmyk(37.6%, 68.5%, 0%, 22.7%)
CIE-LABlab(40.71, 52.77, -60.54)
CIE-LCHlch(40.71, 80.31, 311.08°)
OKLaboklab(51.22% 0.0999 -0.1726)
OKLCHoklch(51.22% 0.199 300.1)
XYZxyz(19.9666, 11.6872, 54.0164)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3EC5 #88C53E
analogous
#3E44C5 #7B3EC5 #BE3EC5
triadic
#7B3EC5 #C57B3E #3EC57B
tetradic
#7B3EC5 #C53E44 #88C53E #3EC5BE
square
#7B3EC5 #C53E44 #88C53E #3EC5BE
split-complementary
#7B3EC5 #C5BE3E #44C53E
monochromatic
#412069 #5E2E98 #7B3EC5 #9B6DD3 #BB9CE1

Accessibility & contrast

On white

6.29
#7B3EC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#7B3EC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3EC5
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3EC5#FFFFFF#000000##FFFFFF
##7B3EC51.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C9
Deuteranopia (green-blind)
#005FC2
Tritanopia (blue-blind)
#6A5E7D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7b3ec5;
/* rgb */ color: rgb(123, 62, 197);
/* oklch */ color: oklch(51.2% 0.199 300.1);
Tailwind
colors: {
  custom: {
    50: '#a778d7',
    500: '#7b3ec5',
    950: '#000000',
  },
}
SCSS
$custom: #7b3ec5;
$custom-light: #a778d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3ec5",
  "rgb": {
    "r": 123,
    "g": 62,
    "b": 197
  },
  "hsl": {
    "h": 267.111,
    "s": 53.785,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51217,
    "c": 0.19938,
    "h": 300.1
  },
  "luminance": 0.11687
}

Semantic roles & 50–950 ramp

primary
#7B3EC5
secondary
#B2CD91
accent
#DD4B9B
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7B3EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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