#7C50CB#7C50CB

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

Color values

HEX#7C50CB
RGBrgb(124, 80, 203)
HSLhsl(261, 54%, 55%)
HSVhsv(261, 61%, 80%)
CMYKcmyk(38.9%, 60.6%, 0%, 20.4%)
CIE-LABlab(44.71, 45.13, -57.55)
CIE-LCHlch(44.71, 73.13, 308.10°)
OKLaboklab(54.26% 0.0808 -0.1638)
OKLCHoklch(54.26% 0.183 296.3)
XYZxyz(21.9575, 14.3338, 58.0982)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C50CB #9FCB50
analogous
#5062CB #7C50CB #B950CB
triadic
#7C50CB #CB7C50 #50CB7C
tetradic
#7C50CB #CB5062 #9FCB50 #50CBB9
square
#7C50CB #CB5062 #9FCB50 #50CBB9
split-complementary
#7C50CB #CBB950 #62CB50
monochromatic
#44257C #5E33AB #7C50CB #9F7FD9 #C3AEE7

Accessibility & contrast

On white

5.43
#7C50CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7C50CB
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C50CB#FFFFFF#000000##FFFFFF
##7C50CB1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#1468C8
Tritanopia (blue-blind)
#696B86
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7c50cb;
/* rgb */ color: rgb(124, 80, 203);
/* oklch */ color: oklch(54.3% 0.183 296.3);
Tailwind
colors: {
  custom: {
    50: '#a783dc',
    500: '#7c50cb',
    950: '#000000',
  },
}
SCSS
$custom: #7c50cb;
$custom-light: #a783dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7c50cb",
  "rgb": {
    "r": 124,
    "g": 80,
    "b": 203
  },
  "hsl": {
    "h": 261.463,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5426,
    "c": 0.18262,
    "h": 296.3
  },
  "luminance": 0.14334
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C50CB

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

Preview Lab → · Contrast checker → · Palette generator →

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