#7B3DBC#7B3DBC

#7B3DBC is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.4% C 0.191 H 302.4°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#7B3DBC
RGBrgb(123, 61, 188)
HSLhsl(269, 51%, 49%)
HSVhsv(269, 68%, 74%)
CMYKcmyk(34.6%, 67.6%, 0%, 26.3%)
CIE-LABlab(39.88, 51.04, -56.64)
CIE-LCHlch(39.88, 76.24, 312.02°)
OKLaboklab(50.41% 0.1022 -0.1611)
OKLCHoklch(50.41% 0.191 302.4)
XYZxyz(18.9121, 11.1792, 48.7287)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3DBC #7EBC3D
analogous
#3D3FBC #7B3DBC #BB3DBC
triadic
#7B3DBC #BC7B3D #3DBC7B
tetradic
#7B3DBC #BC3D3F #7EBC3D #3DBCBB
square
#7B3DBC #BC3D3F #7EBC3D #3DBCBB
split-complementary
#7B3DBC #BCBB3D #3FBC3D
monochromatic
#3F1F60 #5D2E8E #7B3DBC #9A68CE #B996DD

Accessibility & contrast

On white

6.49
#7B3DBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#7B3DBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3DBC
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3DBC#FFFFFF#000000##FFFFFF
##7B3DBC1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#005EB9
Tritanopia (blue-blind)
#6E5A77
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7b3dbc;
/* rgb */ color: rgb(123, 61, 188);
/* oklch */ color: oklch(50.4% 0.191 302.4);
Tailwind
colors: {
  custom: {
    50: '#a677d1',
    500: '#7b3dbc',
    950: '#000000',
  },
}
SCSS
$custom: #7b3dbc;
$custom-light: #a677d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3dbc",
  "rgb": {
    "r": 123,
    "g": 61,
    "b": 188
  },
  "hsl": {
    "h": 269.291,
    "s": 51.004,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50413,
    "c": 0.19074,
    "h": 302.4
  },
  "luminance": 0.11179
}

Semantic roles & 50–950 ramp

primary
#7B3DBC
secondary
#ABC98C
accent
#DA4D96
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7B3DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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