#7B3DC2#7B3DC2

#7B3DC2 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.9% C 0.197 H 300.9°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#7B3DC2
RGBrgb(123, 61, 194)
HSLhsl(268, 52%, 50%)
HSVhsv(268, 69%, 76%)
CMYKcmyk(36.6%, 68.6%, 0%, 23.9%)
CIE-LABlab(40.32, 52.51, -59.44)
CIE-LCHlch(40.32, 79.31, 311.46°)
OKLaboklab(50.86% 0.1014 -0.1693)
OKLCHoklch(50.86% 0.197 300.9)
XYZxyz(19.5724, 11.4434, 52.2061)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3DC2 #84C23D
analogous
#3D41C2 #7B3DC2 #BE3DC2
triadic
#7B3DC2 #C27B3D #3DC27B
tetradic
#7B3DC2 #C23D41 #84C23D #3DC2BE
square
#7B3DC2 #C23D41 #84C23D #3DC2BE
split-complementary
#7B3DC2 #C2BE3D #41C23D
monochromatic
#402065 #5D2E93 #7B3DC2 #9B6CD1 #BA9ADF

Accessibility & contrast

On white

6.39
#7B3DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#7B3DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3DC2
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3DC2#FFFFFF#000000##FFFFFF
##7B3DC21.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#005EBF
Tritanopia (blue-blind)
#6C5C7B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7b3dc2;
/* rgb */ color: rgb(123, 61, 194);
/* oklch */ color: oklch(50.9% 0.197 300.9);
Tailwind
colors: {
  custom: {
    50: '#a777d5',
    500: '#7b3dc2',
    950: '#000000',
  },
}
SCSS
$custom: #7b3dc2;
$custom-light: #a777d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3dc2",
  "rgb": {
    "r": 123,
    "g": 61,
    "b": 194
  },
  "hsl": {
    "h": 267.97,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.50863,
    "c": 0.19733,
    "h": 300.9
  },
  "luminance": 0.11443
}

Semantic roles & 50–950 ramp

primary
#7B3DC2
secondary
#AFCB90
accent
#DC4C99
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7B3DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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