#7B3BD6#7B3BD6

#7B3BD6 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.2% C 0.221 H 296.8°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#7B3BD6
RGBrgb(123, 59, 214)
HSLhsl(265, 65%, 54%)
HSVhsv(265, 72%, 84%)
CMYKcmyk(42.5%, 72.4%, 0%, 16.1%)
CIE-LABlab(41.52, 58.43, -69.06)
CIE-LCHlch(41.52, 90.46, 310.24°)
OKLaboklab(52.2% 0.0997 -0.1976)
OKLCHoklch(52.2% 0.221 296.8)
XYZxyz(21.8668, 12.1935, 64.8068)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3BD6 #96D63B
analogous
#3B48D6 #7B3BD6 #C83BD6
triadic
#7B3BD6 #D67B3B #3BD67B
tetradic
#7B3BD6 #D63B48 #96D63B #3BD6C8
square
#7B3BD6 #D63B48 #96D63B #3BD6C8
split-complementary
#7B3BD6 #D6C83B #48D63B
monochromatic
#431A7D #5E25AF #7B3BD6 #9D6EE1 #BFA0EB

Accessibility & contrast

On white

6.11
#7B3BD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#7B3BD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3BD6
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3BD6#FFFFFF#000000##FFFFFF
##7B3BD61.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DA
Deuteranopia (green-blind)
#0060D3
Tritanopia (blue-blind)
#636385
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7b3bd6;
/* rgb */ color: rgb(123, 59, 214);
/* oklch */ color: oklch(52.2% 0.221 296.8);
Tailwind
colors: {
  custom: {
    50: '#a977e4',
    500: '#7b3bd6',
    950: '#000000',
  },
}
SCSS
$custom: #7b3bd6;
$custom-light: #a977e4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3bd6",
  "rgb": {
    "r": 123,
    "g": 59,
    "b": 214
  },
  "hsl": {
    "h": 264.774,
    "s": 65.401,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52201,
    "c": 0.2213,
    "h": 296.8
  },
  "luminance": 0.12194
}

Semantic roles & 50–950 ramp

primary
#7B3BD6
secondary
#BCD895
accent
#E83FA3
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7B3BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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