#7A50BB#7A50BB

#7A50BB is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.0% C 0.163 H 298.8°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#7A50BB
RGBrgb(122, 80, 187)
HSLhsl(264, 44%, 52%)
HSVhsv(264, 57%, 73%)
CMYKcmyk(34.8%, 57.2%, 0%, 26.7%)
CIE-LABlab(43.45, 40.45, -50.30)
CIE-LCHlch(43.45, 64.55, 308.81°)
OKLaboklab(52.96% 0.0785 -0.1425)
OKLCHoklch(52.96% 0.163 298.8)
XYZxyz(19.8621, 13.4625, 48.5562)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A50BB #91BB50
analogous
#505CBB #7A50BB #AF50BB
triadic
#7A50BB #BB7A50 #50BB7A
tetradic
#7A50BB #BB505C #91BB50 #50BBAF
square
#7A50BB #BB505C #91BB50 #50BBAF
split-complementary
#7A50BB #BBAF50 #5CBB50
monochromatic
#412868 #5D3A94 #7A50BB #9B7CCC #BDA8DD

Accessibility & contrast

On white

5.69
#7A50BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#7A50BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A50BB
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A50BB#FFFFFF#000000##FFFFFF
##7A50BB1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D67BF
Deuteranopia (green-blind)
#2E66B9
Tritanopia (blue-blind)
#6C667E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7a50bb;
/* rgb */ color: rgb(122, 80, 187);
/* oklch */ color: oklch(53.0% 0.163 298.8);
Tailwind
colors: {
  custom: {
    50: '#a483d0',
    500: '#7a50bb',
    950: '#000000',
  },
}
SCSS
$custom: #7a50bb;
$custom-light: #a483d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a50bb",
  "rgb": {
    "r": 122,
    "g": 80,
    "b": 187
  },
  "hsl": {
    "h": 263.551,
    "s": 44.033,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52958,
    "c": 0.1627,
    "h": 298.8
  },
  "luminance": 0.13463
}

Semantic roles & 50–950 ramp

primary
#7A50BB
secondary
#B8CB9C
accent
#D454A2
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #7A50BB

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

Preview Lab → · Contrast checker → · Palette generator →

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