#7B50C8#7B50C8

#7B50C8 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.9% C 0.179 H 296.4°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#7B50C8
RGBrgb(123, 80, 200)
HSLhsl(262, 52%, 55%)
HSVhsv(262, 60%, 78%)
CMYKcmyk(38.5%, 60%, 0%, 21.6%)
CIE-LABlab(44.40, 44.11, -56.32)
CIE-LCHlch(44.40, 71.53, 308.07°)
OKLaboklab(53.95% 0.0796 -0.1602)
OKLCHoklch(53.95% 0.179 296.4)
XYZxyz(21.4597, 14.1180, 56.2268)
Luminance0.1412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B50C8 #9DC850
analogous
#5061C8 #7B50C8 #B750C8
triadic
#7B50C8 #C87B50 #50C87B
tetradic
#7B50C8 #C85061 #9DC850 #50C8B7
square
#7B50C8 #C85061 #9DC850 #50C8B7
split-complementary
#7B50C8 #C8B750 #61C850
monochromatic
#432678 #5D34A6 #7B50C8 #9E7FD7 #C1ADE5

Accessibility & contrast

On white

5.49
#7B50C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#7B50C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B50C8
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B50C8#FFFFFF#000000##FFFFFF
##7B50C81.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#1A67C5
Tritanopia (blue-blind)
#686A84
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7b50c8;
/* rgb */ color: rgb(123, 80, 200);
/* oklch */ color: oklch(53.9% 0.179 296.4);
Tailwind
colors: {
  custom: {
    50: '#a683d9',
    500: '#7b50c8',
    950: '#000000',
  },
}
SCSS
$custom: #7b50c8;
$custom-light: #a683d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b50c8",
  "rgb": {
    "r": 123,
    "g": 80,
    "b": 200
  },
  "hsl": {
    "h": 261.5,
    "s": 52.174,
    "l": 54.902
  },
  "oklch": {
    "l": 0.53948,
    "c": 0.17887,
    "h": 296.4
  },
  "luminance": 0.14118
}

Semantic roles & 50–950 ramp

primary
#7B50C8
secondary
#C1D3A1
accent
#DC4CA8
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7B50C8

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

Preview Lab → · Contrast checker → · Palette generator →

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