#7B50BD#7B50BD

#7B50BD is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.2% C 0.165 H 298.9°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#7B50BD
RGBrgb(123, 80, 189)
HSLhsl(264, 45%, 53%)
HSVhsv(264, 58%, 74%)
CMYKcmyk(34.9%, 57.7%, 0%, 25.9%)
CIE-LABlab(43.69, 41.21, -51.08)
CIE-LCHlch(43.69, 65.64, 308.90°)
OKLaboklab(53.2% 0.0798 -0.1448)
OKLCHoklch(53.2% 0.165 298.9)
XYZxyz(20.2201, 13.6222, 49.6983)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B50BD #92BD50
analogous
#505BBD #7B50BD #B250BD
triadic
#7B50BD #BD7B50 #50BD7B
tetradic
#7B50BD #BD505B #92BD50 #50BDB2
square
#7B50BD #BD505B #92BD50 #50BDB2
split-complementary
#7B50BD #BDB250 #5BBD50
monochromatic
#42286A #5E3997 #7B50BD #9D7CCE #BEA9DF

Accessibility & contrast

On white

5.64
#7B50BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#7B50BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B50BD
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B50BD#FFFFFF#000000##FFFFFF
##7B50BD1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A67C1
Deuteranopia (green-blind)
#2D66BB
Tritanopia (blue-blind)
#6D677F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7b50bd;
/* rgb */ color: rgb(123, 80, 189);
/* oklch */ color: oklch(53.2% 0.165 298.9);
Tailwind
colors: {
  custom: {
    50: '#a583d1',
    500: '#7b50bd',
    950: '#000000',
  },
}
SCSS
$custom: #7b50bd;
$custom-light: #a583d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b50bd",
  "rgb": {
    "r": 123,
    "g": 80,
    "b": 189
  },
  "hsl": {
    "h": 263.67,
    "s": 45.228,
    "l": 52.745
  },
  "oklch": {
    "l": 0.53195,
    "c": 0.16533,
    "h": 298.9
  },
  "luminance": 0.13622
}

Semantic roles & 50–950 ramp

primary
#7B50BD
secondary
#B9CC9D
accent
#D553A2
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #7B50BD

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

Preview Lab → · Contrast checker → · Palette generator →

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