#7B50D7#7B50D7

#7B50D7 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.0% C 0.197 H 293.5°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#7B50D7
RGBrgb(123, 80, 215)
HSLhsl(259, 63%, 58%)
HSVhsv(259, 63%, 84%)
CMYKcmyk(42.8%, 62.8%, 0%, 15.7%)
CIE-LABlab(45.43, 48.13, -63.27)
CIE-LCHlch(45.43, 79.49, 307.26°)
OKLaboklab(55.03% 0.0787 -0.1806)
OKLCHoklch(55.03% 0.197 293.5)
XYZxyz(23.2995, 14.8539, 65.9163)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B50D7 #ACD750
analogous
#5068D7 #7B50D7 #BE50D7
triadic
#7B50D7 #D77B50 #50D77B
tetradic
#7B50D7 #D75068 #ACD750 #50D7BE
square
#7B50D7 #D75068 #ACD750 #50D7BE
split-complementary
#7B50D7 #D7BE50 #68D750
monochromatic
#43208C #5A2BBE #7B50D7 #A182E2 #C6B4EE

Accessibility & contrast

On white

5.29
#7B50D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#7B50D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B50D7
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B50D7#FFFFFF#000000##FFFFFF
##7B50D71.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDB
Deuteranopia (green-blind)
#0069D4
Tritanopia (blue-blind)
#626F8C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7b50d7;
/* rgb */ color: rgb(123, 80, 215);
/* oklch */ color: oklch(55.0% 0.197 293.5);
Tailwind
colors: {
  custom: {
    50: '#a883e4',
    500: '#7b50d7',
    950: '#000000',
  },
}
SCSS
$custom: #7b50d7;
$custom-light: #a883e4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b50d7",
  "rgb": {
    "r": 123,
    "g": 80,
    "b": 215
  },
  "hsl": {
    "h": 259.111,
    "s": 62.791,
    "l": 57.843
  },
  "oklch": {
    "l": 0.55026,
    "c": 0.19703,
    "h": 293.5
  },
  "luminance": 0.14855
}

Semantic roles & 50–950 ramp

primary
#7B50D7
secondary
#CBDCA6
accent
#E642B2
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7B50D7

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

Preview Lab → · Contrast checker → · Palette generator →

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