#7B50BF#7B50BF

#7B50BF is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.3% C 0.168 H 298.4°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#7B50BF
RGBrgb(123, 80, 191)
HSLhsl(263, 46%, 53%)
HSVhsv(263, 58%, 75%)
CMYKcmyk(35.6%, 58.1%, 0%, 25.1%)
CIE-LABlab(43.81, 41.74, -52.04)
CIE-LCHlch(43.81, 66.71, 308.73°)
OKLaboklab(53.33% 0.0798 -0.1476)
OKLCHoklch(53.33% 0.168 298.4)
XYZxyz(20.4387, 13.7096, 50.8495)
Luminance0.1371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B50BF #94BF50
analogous
#505CBF #7B50BF #B250BF
triadic
#7B50BF #BF7B50 #50BF7B
tetradic
#7B50BF #BF505C #94BF50 #50BFB2
square
#7B50BF #BF505C #94BF50 #50BFB2
split-complementary
#7B50BF #BFB250 #5CBF50
monochromatic
#43286D #5E389A #7B50BF #9D7DCF #BFAAE0

Accessibility & contrast

On white

5.61
#7B50BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#7B50BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B50BF
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B50BF#FFFFFF#000000##FFFFFF
##7B50BF1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1668C3
Deuteranopia (green-blind)
#2A66BD
Tritanopia (blue-blind)
#6C6780
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7b50bf;
/* rgb */ color: rgb(123, 80, 191);
/* oklch */ color: oklch(53.3% 0.168 298.4);
Tailwind
colors: {
  custom: {
    50: '#a583d3',
    500: '#7b50bf',
    950: '#000000',
  },
}
SCSS
$custom: #7b50bf;
$custom-light: #a583d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b50bf",
  "rgb": {
    "r": 123,
    "g": 80,
    "b": 191
  },
  "hsl": {
    "h": 263.243,
    "s": 46.444,
    "l": 53.137
  },
  "oklch": {
    "l": 0.5333,
    "c": 0.16781,
    "h": 298.4
  },
  "luminance": 0.1371
}

Semantic roles & 50–950 ramp

primary
#7B50BF
secondary
#BBCD9D
accent
#D652A3
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #7B50BF

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

Preview Lab → · Contrast checker → · Palette generator →

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