#7B50CF#7B50CF

#7B50CF is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.4% C 0.187 H 295.0°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7B50CF
RGBrgb(123, 80, 207)
HSLhsl(260, 57%, 56%)
HSVhsv(260, 61%, 81%)
CMYKcmyk(40.6%, 61.4%, 0%, 18.8%)
CIE-LABlab(44.88, 45.97, -59.59)
CIE-LCHlch(44.88, 75.26, 307.65°)
OKLaboklab(54.44% 0.0793 -0.1698)
OKLCHoklch(54.44% 0.187 295)
XYZxyz(22.2966, 14.4528, 60.6343)
Luminance0.1445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B50CF #A4CF50
analogous
#5065CF #7B50CF #BB50CF
triadic
#7B50CF #CF7B50 #50CF7B
tetradic
#7B50CF #CF5065 #A4CF50 #50CFBB
square
#7B50CF #CF5065 #A4CF50 #50CFBB
split-complementary
#7B50CF #CFBB50 #65CF50
monochromatic
#432381 #5C31B1 #7B50CF #9F80DC #C3B0E9

Accessibility & contrast

On white

5.40
#7B50CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#7B50CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B50CF
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B50CF#FFFFFF#000000##FFFFFF
##7B50CF1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#0068CC
Tritanopia (blue-blind)
#656C88
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7b50cf;
/* rgb */ color: rgb(123, 80, 207);
/* oklch */ color: oklch(54.4% 0.187 295.0);
Tailwind
colors: {
  custom: {
    50: '#a783de',
    500: '#7b50cf',
    950: '#000000',
  },
}
SCSS
$custom: #7b50cf;
$custom-light: #a783de;
$custom-dark: #000000;
JSON
{
  "hex": "#7b50cf",
  "rgb": {
    "r": 123,
    "g": 80,
    "b": 207
  },
  "hsl": {
    "h": 260.315,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54444,
    "c": 0.18739,
    "h": 295
  },
  "luminance": 0.14453
}

Semantic roles & 50–950 ramp

primary
#7B50CF
secondary
#C6D8A3
accent
#E048AD
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7B50CF

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

Preview Lab → · Contrast checker → · Palette generator →

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