#7B50CC#7B50CC

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

Color values

HEX#7B50CC
RGBrgb(123, 80, 204)
HSLhsl(261, 55%, 56%)
HSVhsv(261, 61%, 80%)
CMYKcmyk(39.7%, 60.8%, 0%, 20%)
CIE-LABlab(44.67, 45.17, -58.19)
CIE-LCHlch(44.67, 73.67, 307.82°)
OKLaboklab(54.23% 0.0794 -0.1657)
OKLCHoklch(54.23% 0.184 295.6)
XYZxyz(21.9333, 14.3075, 58.7211)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B50CC #A1CC50
analogous
#5063CC #7B50CC #B950CC
triadic
#7B50CC #CC7B50 #50CC7B
tetradic
#7B50CC #CC5063 #A1CC50 #50CCB9
square
#7B50CC #CC5063 #A1CC50 #50CCB9
split-complementary
#7B50CC #CCB950 #63CC50
monochromatic
#43247D #5D32AD #7B50CC #9F7FDA #C2AFE8

Accessibility & contrast

On white

5.44
#7B50CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#7B50CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B50CC
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B50CC#FFFFFF#000000##FFFFFF
##7B50CC1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#0D68C9
Tritanopia (blue-blind)
#676B86
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7b50cc;
/* rgb */ color: rgb(123, 80, 204);
/* oklch */ color: oklch(54.2% 0.184 295.6);
Tailwind
colors: {
  custom: {
    50: '#a683dc',
    500: '#7b50cc',
    950: '#000000',
  },
}
SCSS
$custom: #7b50cc;
$custom-light: #a683dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b50cc",
  "rgb": {
    "r": 123,
    "g": 80,
    "b": 204
  },
  "hsl": {
    "h": 260.806,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.5423,
    "c": 0.18375,
    "h": 295.6
  },
  "luminance": 0.14308
}

Semantic roles & 50–950 ramp

primary
#7B50CC
secondary
#C4D6A2
accent
#DE4AAB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7B50CC

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

Preview Lab → · Contrast checker → · Palette generator →

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