#7D50B8#7D50B8

#7D50B8 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.1% C 0.160 H 301.1°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#7D50B8
RGBrgb(125, 80, 184)
HSLhsl(266, 42%, 52%)
HSVhsv(266, 57%, 72%)
CMYKcmyk(32.1%, 56.5%, 0%, 27.8%)
CIE-LABlab(43.59, 40.41, -48.30)
CIE-LCHlch(43.59, 62.98, 309.92°)
OKLaboklab(53.08% 0.0824 -0.1366)
OKLCHoklch(53.08% 0.16 301.1)
XYZxyz(19.9758, 13.5579, 46.9026)
Luminance0.1356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D50B8 #8BB850
analogous
#5057B8 #7D50B8 #B150B8
triadic
#7D50B8 #B87D50 #50B87D
tetradic
#7D50B8 #B85057 #8BB850 #50B8B1
square
#7D50B8 #B85057 #8BB850 #50B8B1
split-complementary
#7D50B8 #B8B150 #57B850
monochromatic
#432965 #603B90 #7D50B8 #9D7CCA #BEA7DB

Accessibility & contrast

On white

5.66
#7D50B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#7D50B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D50B8
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D50B8#FFFFFF#000000##FFFFFF
##7D50B81.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2466BB
Deuteranopia (green-blind)
#3566B6
Tritanopia (blue-blind)
#71657C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7d50b8;
/* rgb */ color: rgb(125, 80, 184);
/* oklch */ color: oklch(53.1% 0.160 301.1);
Tailwind
colors: {
  custom: {
    50: '#a683ce',
    500: '#7d50b8',
    950: '#000000',
  },
}
SCSS
$custom: #7d50b8;
$custom-light: #a683ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7d50b8",
  "rgb": {
    "r": 125,
    "g": 80,
    "b": 184
  },
  "hsl": {
    "h": 265.962,
    "s": 42.276,
    "l": 51.765
  },
  "oklch": {
    "l": 0.53076,
    "c": 0.1595,
    "h": 301.1
  },
  "luminance": 0.13558
}

Semantic roles & 50–950 ramp

primary
#7D50B8
secondary
#B5C99B
accent
#D2569C
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #7D50B8

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

Preview Lab → · Contrast checker → · Palette generator →

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