#7C50B2#7C50B2

#7C50B2 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.6% C 0.152 H 302.2°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#7C50B2
RGBrgb(124, 80, 178)
HSLhsl(267, 39%, 51%)
HSVhsv(267, 55%, 70%)
CMYKcmyk(30.3%, 55.1%, 0%, 30.2%)
CIE-LABlab(43.12, 38.63, -45.55)
CIE-LCHlch(43.12, 59.73, 310.31°)
OKLaboklab(52.59% 0.0809 -0.1285)
OKLCHoklch(52.59% 0.152 302.2)
XYZxyz(19.2149, 13.2367, 43.6535)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C50B2 #86B250
analogous
#5055B2 #7C50B2 #AD50B2
triadic
#7C50B2 #B27C50 #50B27C
tetradic
#7C50B2 #B25055 #86B250 #50B2AD
square
#7C50B2 #B25055 #86B250 #50B2AD
split-complementary
#7C50B2 #B2AD50 #55B250
monochromatic
#41295E #5E3C89 #7C50B2 #9C7AC5 #BCA5D7

Accessibility & contrast

On white

5.76
#7C50B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#7C50B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C50B2
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C50B2#FFFFFF#000000##FFFFFF
##7C50B21.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B65B5
Deuteranopia (green-blind)
#3966B0
Tritanopia (blue-blind)
#726379
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7c50b2;
/* rgb */ color: rgb(124, 80, 178);
/* oklch */ color: oklch(52.6% 0.152 302.2);
Tailwind
colors: {
  custom: {
    50: '#a583c9',
    500: '#7c50b2',
    950: '#000000',
  },
}
SCSS
$custom: #7c50b2;
$custom-light: #a583c9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c50b2",
  "rgb": {
    "r": 124,
    "g": 80,
    "b": 178
  },
  "hsl": {
    "h": 266.939,
    "s": 38.889,
    "l": 50.588
  },
  "oklch": {
    "l": 0.52585,
    "c": 0.15186,
    "h": 302.2
  },
  "luminance": 0.13237
}

Semantic roles & 50–950 ramp

primary
#7C50B2
secondary
#B1C599
accent
#CF599A
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100B13
muted
#7F7C82

Preview Lab

Preview with #7C50B2

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

Preview Lab → · Contrast checker → · Palette generator →

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