#7D50C8#7D50C8

#7D50C8 is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.2% C 0.179 H 297.3°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#7D50C8
RGBrgb(125, 80, 200)
HSLhsl(263, 52%, 55%)
HSVhsv(263, 60%, 78%)
CMYKcmyk(37.5%, 60%, 0%, 21.6%)
CIE-LABlab(44.61, 44.56, -55.96)
CIE-LCHlch(44.61, 71.53, 308.53°)
OKLaboklab(54.15% 0.0823 -0.1591)
OKLCHoklch(54.15% 0.179 297.3)
XYZxyz(21.7488, 14.2671, 56.2404)
Luminance0.1427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D50C8 #9BC850
analogous
#505FC8 #7D50C8 #B950C8
triadic
#7D50C8 #C87D50 #50C87D
tetradic
#7D50C8 #C8505F #9BC850 #50C8B9
square
#7D50C8 #C8505F #9BC850 #50C8B9
split-complementary
#7D50C8 #C8B950 #5FC850
monochromatic
#452678 #5F34A6 #7D50C8 #A07FD7 #C2ADE5

Accessibility & contrast

On white

5.45
#7D50C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#7D50C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D50C8
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D50C8#FFFFFF#000000##FFFFFF
##7D50C81.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#1E68C5
Tritanopia (blue-blind)
#6B6A84
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7d50c8;
/* rgb */ color: rgb(125, 80, 200);
/* oklch */ color: oklch(54.2% 0.179 297.3);
Tailwind
colors: {
  custom: {
    50: '#a783d9',
    500: '#7d50c8',
    950: '#000000',
  },
}
SCSS
$custom: #7d50c8;
$custom-light: #a783d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d50c8",
  "rgb": {
    "r": 125,
    "g": 80,
    "b": 200
  },
  "hsl": {
    "h": 262.5,
    "s": 52.174,
    "l": 54.902
  },
  "oklch": {
    "l": 0.54151,
    "c": 0.17909,
    "h": 297.3
  },
  "luminance": 0.14267
}

Semantic roles & 50–950 ramp

primary
#7D50C8
secondary
#C0D3A1
accent
#DC4CA6
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7D50C8

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

Preview Lab → · Contrast checker → · Palette generator →

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