#7B3DC3#7B3DC3

#7B3DC3 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.9% C 0.198 H 300.7°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#7B3DC3
RGBrgb(123, 61, 195)
HSLhsl(268, 53%, 50%)
HSVhsv(268, 69%, 76%)
CMYKcmyk(36.9%, 68.7%, 0%, 23.5%)
CIE-LABlab(40.39, 52.76, -59.90)
CIE-LCHlch(40.39, 79.82, 311.37°)
OKLaboklab(50.94% 0.1012 -0.1707)
OKLCHoklch(50.94% 0.198 300.7)
XYZxyz(19.6850, 11.4884, 52.7996)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3DC3 #85C33D
analogous
#3D42C3 #7B3DC3 #BE3DC3
triadic
#7B3DC3 #C37B3D #3DC37B
tetradic
#7B3DC3 #C33D42 #85C33D #3DC3BE
square
#7B3DC3 #C33D42 #85C33D #3DC3BE
split-complementary
#7B3DC3 #C3BE3D #42C33D
monochromatic
#402066 #5E2E95 #7B3DC3 #9B6CD1 #BB9AE0

Accessibility & contrast

On white

6.37
#7B3DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#7B3DC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3DC3
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3DC3#FFFFFF#000000##FFFFFF
##7B3DC31.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#005EC0
Tritanopia (blue-blind)
#6B5D7B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7b3dc3;
/* rgb */ color: rgb(123, 61, 195);
/* oklch */ color: oklch(50.9% 0.198 300.7);
Tailwind
colors: {
  custom: {
    50: '#a777d6',
    500: '#7b3dc3',
    950: '#000000',
  },
}
SCSS
$custom: #7b3dc3;
$custom-light: #a777d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3dc3",
  "rgb": {
    "r": 123,
    "g": 61,
    "b": 195
  },
  "hsl": {
    "h": 267.761,
    "s": 52.756,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50939,
    "c": 0.19843,
    "h": 300.7
  },
  "luminance": 0.11489
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B3DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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