#7B3DB7#7B3DB7

#7B3DB7 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.0% C 0.185 H 303.7°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#7B3DB7
RGBrgb(123, 61, 183)
HSLhsl(270, 50%, 48%)
HSVhsv(270, 67%, 72%)
CMYKcmyk(32.8%, 66.7%, 0%, 28.2%)
CIE-LABlab(39.53, 49.82, -54.27)
CIE-LCHlch(39.53, 73.67, 312.55°)
OKLaboklab(50.05% 0.1028 -0.1541)
OKLCHoklch(50.05% 0.185 303.7)
XYZxyz(18.3824, 10.9674, 45.9390)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3DB7 #79B73D
analogous
#3E3DB7 #7B3DB7 #B73DB6
triadic
#7B3DB7 #B77B3D #3DB77B
tetradic
#7B3DB7 #B73E3D #79B73D #3DB6B7
square
#7B3DB7 #B73E3D #79B73D #3DB6B7
split-complementary
#7B3DB7 #B6B73D #3DB73E
monochromatic
#3D1E5B #5C2E89 #7B3DB7 #9965CC #B893DB

Accessibility & contrast

On white

6.58
#7B3DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#7B3DB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3DB7
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3DB7#FFFFFF#000000##FFFFFF
##7B3DB71.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#0F5DB4
Tritanopia (blue-blind)
#6F5875
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7b3db7;
/* rgb */ color: rgb(123, 61, 183);
/* oklch */ color: oklch(50.0% 0.185 303.7);
Tailwind
colors: {
  custom: {
    50: '#a677cd',
    500: '#7b3db7',
    950: '#000000',
  },
}
SCSS
$custom: #7b3db7;
$custom-light: #a677cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3db7",
  "rgb": {
    "r": 123,
    "g": 61,
    "b": 183
  },
  "hsl": {
    "h": 270.492,
    "s": 50,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50046,
    "c": 0.18523,
    "h": 303.7
  },
  "luminance": 0.10967
}

Semantic roles & 50–950 ramp

primary
#7B3DB7
secondary
#A7C689
accent
#DA4E93
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7B3DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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