#7B50CB#7B50CB

#7B50CB is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.2% C 0.183 H 295.8°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#7B50CB
RGBrgb(123, 80, 203)
HSLhsl(261, 54%, 55%)
HSVhsv(261, 61%, 80%)
CMYKcmyk(39.4%, 60.6%, 0%, 20.4%)
CIE-LABlab(44.60, 44.91, -57.72)
CIE-LCHlch(44.60, 73.13, 307.88°)
OKLaboklab(54.16% 0.0795 -0.1643)
OKLCHoklch(54.16% 0.183 295.8)
XYZxyz(21.8137, 14.2596, 58.0914)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B50CB #A0CB50
analogous
#5062CB #7B50CB #B950CB
triadic
#7B50CB #CB7B50 #50CB7B
tetradic
#7B50CB #CB5062 #A0CB50 #50CBB9
square
#7B50CB #CB5062 #A0CB50 #50CBB9
split-complementary
#7B50CB #CBB950 #62CB50
monochromatic
#43257C #5D33AB #7B50CB #9F7FD9 #C2AEE7

Accessibility & contrast

On white

5.45
#7B50CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#7B50CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B50CB
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B50CB#FFFFFF#000000##FFFFFF
##7B50CB1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#1168C8
Tritanopia (blue-blind)
#676B86
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7b50cb;
/* rgb */ color: rgb(123, 80, 203);
/* oklch */ color: oklch(54.2% 0.183 295.8);
Tailwind
colors: {
  custom: {
    50: '#a683dc',
    500: '#7b50cb',
    950: '#000000',
  },
}
SCSS
$custom: #7b50cb;
$custom-light: #a683dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b50cb",
  "rgb": {
    "r": 123,
    "g": 80,
    "b": 203
  },
  "hsl": {
    "h": 260.976,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.54159,
    "c": 0.18253,
    "h": 295.8
  },
  "luminance": 0.1426
}

Semantic roles & 50–950 ramp

primary
#7B50CB
secondary
#C3D5A2
accent
#DE4AAA
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7B50CB

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

Preview Lab → · Contrast checker → · Palette generator →

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