#7B3DC0#7B3DC0

#7B3DC0 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.7% C 0.195 H 301.4°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#7B3DC0
RGBrgb(123, 61, 192)
HSLhsl(268, 52%, 50%)
HSVhsv(268, 68%, 75%)
CMYKcmyk(35.9%, 68.2%, 0%, 24.7%)
CIE-LABlab(40.17, 52.02, -58.51)
CIE-LCHlch(40.17, 78.29, 311.64°)
OKLaboklab(50.71% 0.1016 -0.1666)
OKLCHoklch(50.71% 0.195 301.4)
XYZxyz(19.3493, 11.3541, 51.0311)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3DC0 #82C03D
analogous
#3D40C0 #7B3DC0 #BD3DC0
triadic
#7B3DC0 #C07B3D #3DC07B
tetradic
#7B3DC0 #C03D40 #82C03D #3DC0BD
square
#7B3DC0 #C03D40 #82C03D #3DC0BD
split-complementary
#7B3DC0 #C0BD3D #40C03D
monochromatic
#3F1F63 #5D2E92 #7B3DC0 #9A6AD0 #BA99DF

Accessibility & contrast

On white

6.42
#7B3DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#7B3DC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3DC0
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3DC0#FFFFFF#000000##FFFFFF
##7B3DC01.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC4
Deuteranopia (green-blind)
#005EBD
Tritanopia (blue-blind)
#6C5B7A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7b3dc0;
/* rgb */ color: rgb(123, 61, 192);
/* oklch */ color: oklch(50.7% 0.195 301.4);
Tailwind
colors: {
  custom: {
    50: '#a677d4',
    500: '#7b3dc0',
    950: '#000000',
  },
}
SCSS
$custom: #7b3dc0;
$custom-light: #a677d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3dc0",
  "rgb": {
    "r": 123,
    "g": 61,
    "b": 192
  },
  "hsl": {
    "h": 268.397,
    "s": 51.779,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50712,
    "c": 0.19514,
    "h": 301.4
  },
  "luminance": 0.11354
}

Semantic roles & 50–950 ramp

primary
#7B3DC0
secondary
#AECA8E
accent
#DB4D98
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7B3DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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