#7D50B0#7D50B0

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

Color values

HEX#7D50B0
RGBrgb(125, 80, 176)
HSLhsl(268, 38%, 50%)
HSVhsv(268, 55%, 69%)
CMYKcmyk(29%, 54.5%, 0%, 31%)
CIE-LABlab(43.11, 38.39, -44.38)
CIE-LCHlch(43.11, 58.68, 310.86°)
OKLaboklab(52.57% 0.0821 -0.1251)
OKLCHoklch(52.57% 0.15 303.3)
XYZxyz(19.1608, 13.2319, 42.6105)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D50B0 #83B050
analogous
#5053B0 #7D50B0 #AD50B0
triadic
#7D50B0 #B07D50 #50B07D
tetradic
#7D50B0 #B05053 #83B050 #50B0AD
square
#7D50B0 #B05053 #83B050 #50B0AD
split-complementary
#7D50B0 #B0AD50 #53B050
monochromatic
#412A5C #5F3D86 #7D50B0 #9C7AC3 #BCA4D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D50B0#FFFFFF#000000##FFFFFF
##7D50B01.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)
#2D65B3
Deuteranopia (green-blind)
#3C66AE
Tritanopia (blue-blind)
#746278
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7d50b0;
/* rgb */ color: rgb(125, 80, 176);
/* oklch */ color: oklch(52.6% 0.150 303.3);
Tailwind
colors: {
  custom: {
    50: '#a583c8',
    500: '#7d50b0',
    950: '#000000',
  },
}
SCSS
$custom: #7d50b0;
$custom-light: #a583c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d50b0",
  "rgb": {
    "r": 125,
    "g": 80,
    "b": 176
  },
  "hsl": {
    "h": 268.125,
    "s": 37.795,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52566,
    "c": 0.1496,
    "h": 303.3
  },
  "luminance": 0.13232
}

Semantic roles & 50–950 ramp

primary
#7D50B0
secondary
#AFC398
accent
#CE5A98
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100B13
muted
#7F7C82

Preview Lab

Preview with #7D50B0

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

Preview Lab → · Contrast checker → · Palette generator →

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