#7B3CBF#7B3CBF

#7B3CBF is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.5% C 0.195 H 301.8°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#7B3CBF
RGBrgb(123, 60, 191)
HSLhsl(269, 52%, 49%)
HSVhsv(269, 69%, 75%)
CMYKcmyk(35.6%, 68.6%, 0%, 25.1%)
CIE-LABlab(39.92, 52.26, -58.33)
CIE-LCHlch(39.92, 78.31, 311.86°)
OKLaboklab(50.51% 0.1028 -0.166)
OKLCHoklch(50.51% 0.195 301.8)
XYZxyz(19.1860, 11.2042, 50.4320)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3CBF #80BF3C
analogous
#3C3FBF #7B3CBF #BD3CBF
triadic
#7B3CBF #BF7B3C #3CBF7B
tetradic
#7B3CBF #BF3C3F #80BF3C #3CBFBD
square
#7B3CBF #BF3C3F #80BF3C #3CBFBD
split-complementary
#7B3CBF #BFBD3C #3FBF3C
monochromatic
#3F1F62 #5D2D90 #7B3CBF #9A68D0 #B997DE

Accessibility & contrast

On white

6.48
#7B3CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7B3CBF
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3CBF#FFFFFF#000000##FFFFFF
##7B3CBF1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC3
Deuteranopia (green-blind)
#005DBC
Tritanopia (blue-blind)
#6D5B79
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7b3cbf;
/* rgb */ color: rgb(123, 60, 191);
/* oklch */ color: oklch(50.5% 0.195 301.8);
Tailwind
colors: {
  custom: {
    50: '#a676d3',
    500: '#7b3cbf',
    950: '#000000',
  },
}
SCSS
$custom: #7b3cbf;
$custom-light: #a676d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3cbf",
  "rgb": {
    "r": 123,
    "g": 60,
    "b": 191
  },
  "hsl": {
    "h": 268.855,
    "s": 52.191,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50512,
    "c": 0.19531,
    "h": 301.8
  },
  "luminance": 0.11204
}

Semantic roles & 50–950 ramp

primary
#7B3CBF
secondary
#ADCA8D
accent
#DC4C97
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7B3CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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