#7B50CD#7B50CD

#7B50CD is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.3% C 0.185 H 295.4°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#7B50CD
RGBrgb(123, 80, 205)
HSLhsl(261, 56%, 56%)
HSVhsv(261, 61%, 80%)
CMYKcmyk(40%, 61%, 0%, 19.6%)
CIE-LABlab(44.74, 45.44, -58.66)
CIE-LCHlch(44.74, 74.20, 307.76°)
OKLaboklab(54.3% 0.0794 -0.1671)
OKLCHoklch(54.3% 0.185 295.4)
XYZxyz(22.0536, 14.3556, 59.3547)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B50CD #A2CD50
analogous
#5063CD #7B50CD #B950CD
triadic
#7B50CD #CD7B50 #50CD7B
tetradic
#7B50CD #CD5063 #A2CD50 #50CDB9
square
#7B50CD #CD5063 #A2CD50 #50CDB9
split-complementary
#7B50CD #CDB950 #63CD50
monochromatic
#43247E #5D32AE #7B50CD #9F80DB #C3AFE8

Accessibility & contrast

On white

5.42
#7B50CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#7B50CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B50CD
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B50CD#FFFFFF#000000##FFFFFF
##7B50CD1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#0968CA
Tritanopia (blue-blind)
#666C87
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7b50cd;
/* rgb */ color: rgb(123, 80, 205);
/* oklch */ color: oklch(54.3% 0.185 295.4);
Tailwind
colors: {
  custom: {
    50: '#a783dd',
    500: '#7b50cd',
    950: '#000000',
  },
}
SCSS
$custom: #7b50cd;
$custom-light: #a783dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b50cd",
  "rgb": {
    "r": 123,
    "g": 80,
    "b": 205
  },
  "hsl": {
    "h": 260.64,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54301,
    "c": 0.18496,
    "h": 295.4
  },
  "luminance": 0.14356
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B50CD

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

Preview Lab → · Contrast checker → · Palette generator →

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