#7B50BB#7B50BB

#7B50BB is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.1% C 0.163 H 299.3°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#7B50BB
RGBrgb(123, 80, 187)
HSLhsl(264, 44%, 52%)
HSVhsv(264, 57%, 73%)
CMYKcmyk(34.2%, 57.2%, 0%, 26.7%)
CIE-LABlab(43.56, 40.69, -50.12)
CIE-LCHlch(43.56, 64.56, 309.08°)
OKLaboklab(53.06% 0.0798 -0.142)
OKLCHoklch(53.06% 0.163 299.3)
XYZxyz(20.0045, 13.5359, 48.5628)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B50BB #90BB50
analogous
#505BBB #7B50BB #B050BB
triadic
#7B50BB #BB7B50 #50BB7B
tetradic
#7B50BB #BB505B #90BB50 #50BBB0
square
#7B50BB #BB505B #90BB50 #50BBB0
split-complementary
#7B50BB #BBB050 #5BBB50
monochromatic
#422868 #5E3A94 #7B50BB #9C7CCC #BDA8DD

Accessibility & contrast

On white

5.66
#7B50BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#7B50BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B50BB
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B50BB#FFFFFF#000000##FFFFFF
##7B50BB1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E67BF
Deuteranopia (green-blind)
#2F66B9
Tritanopia (blue-blind)
#6D667E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7b50bb;
/* rgb */ color: rgb(123, 80, 187);
/* oklch */ color: oklch(53.1% 0.163 299.3);
Tailwind
colors: {
  custom: {
    50: '#a583d0',
    500: '#7b50bb',
    950: '#000000',
  },
}
SCSS
$custom: #7b50bb;
$custom-light: #a583d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b50bb",
  "rgb": {
    "r": 123,
    "g": 80,
    "b": 187
  },
  "hsl": {
    "h": 264.112,
    "s": 44.033,
    "l": 52.353
  },
  "oklch": {
    "l": 0.53062,
    "c": 0.16286,
    "h": 299.3
  },
  "luminance": 0.13536
}

Semantic roles & 50–950 ramp

primary
#7B50BB
secondary
#B8CB9C
accent
#D454A0
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #7B50BB

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

Preview Lab → · Contrast checker → · Palette generator →

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