#7B3BD0#7B3BD0

#7B3BD0 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.7% C 0.215 H 298.0°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#7B3BD0
RGBrgb(123, 59, 208)
HSLhsl(266, 61%, 52%)
HSVhsv(266, 72%, 82%)
CMYKcmyk(40.9%, 71.6%, 0%, 18.4%)
CIE-LABlab(41.04, 56.94, -66.38)
CIE-LCHlch(41.04, 87.45, 310.62°)
OKLaboklab(51.72% 0.1009 -0.1897)
OKLCHoklch(51.72% 0.215 298)
XYZxyz(21.1146, 11.8926, 60.8453)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3BD0 #90D03B
analogous
#3B45D0 #7B3BD0 #C63BD0
triadic
#7B3BD0 #D07B3B #3BD07B
tetradic
#7B3BD0 #D03B45 #90D03B #3BD0C6
square
#7B3BD0 #D03B45 #90D03B #3BD0C6
split-complementary
#7B3BD0 #D0C63B #45D03B
monochromatic
#421C75 #5E28A6 #7B3BD0 #9C6CDC #BD9EE8

Accessibility & contrast

On white

6.22
#7B3BD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#7B3BD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3BD0
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3BD0#FFFFFF#000000##FFFFFF
##7B3BD01.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D4
Deuteranopia (green-blind)
#005FCD
Tritanopia (blue-blind)
#666182
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7b3bd0;
/* rgb */ color: rgb(123, 59, 208);
/* oklch */ color: oklch(51.7% 0.215 298.0);
Tailwind
colors: {
  custom: {
    50: '#a876df',
    500: '#7b3bd0',
    950: '#000000',
  },
}
SCSS
$custom: #7b3bd0;
$custom-light: #a876df;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3bd0",
  "rgb": {
    "r": 123,
    "g": 59,
    "b": 208
  },
  "hsl": {
    "h": 265.772,
    "s": 61.317,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51715,
    "c": 0.21488,
    "h": 298
  },
  "luminance": 0.11893
}

Semantic roles & 50–950 ramp

primary
#7B3BD0
secondary
#B8D493
accent
#E4439F
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7B3BD0

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

Preview Lab → · Contrast checker → · Palette generator →

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