#7D50CB#7D50CB

#7D50CB is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.4% C 0.183 H 296.7°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#7D50CB
RGBrgb(125, 80, 203)
HSLhsl(262, 54%, 55%)
HSVhsv(262, 61%, 80%)
CMYKcmyk(38.4%, 60.6%, 0%, 20.4%)
CIE-LABlab(44.81, 45.35, -57.37)
CIE-LCHlch(44.81, 73.13, 308.32°)
OKLaboklab(54.36% 0.0821 -0.1632)
OKLCHoklch(54.36% 0.183 296.7)
XYZxyz(22.1028, 14.4087, 58.1050)
Luminance0.1441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D50CB #9ECB50
analogous
#5060CB #7D50CB #BA50CB
triadic
#7D50CB #CB7D50 #50CB7D
tetradic
#7D50CB #CB5060 #9ECB50 #50CBBA
square
#7D50CB #CB5060 #9ECB50 #50CBBA
split-complementary
#7D50CB #CBBA50 #60CB50
monochromatic
#45257C #5F33AB #7D50CB #A07FD9 #C3AEE7

Accessibility & contrast

On white

5.41
#7D50CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#7D50CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D50CB
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D50CB#FFFFFF#000000##FFFFFF
##7D50CB1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCF
Deuteranopia (green-blind)
#1668C8
Tritanopia (blue-blind)
#6A6B86
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7d50cb;
/* rgb */ color: rgb(125, 80, 203);
/* oklch */ color: oklch(54.4% 0.183 296.7);
Tailwind
colors: {
  custom: {
    50: '#a883dc',
    500: '#7d50cb',
    950: '#000000',
  },
}
SCSS
$custom: #7d50cb;
$custom-light: #a883dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d50cb",
  "rgb": {
    "r": 125,
    "g": 80,
    "b": 203
  },
  "hsl": {
    "h": 261.951,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.54361,
    "c": 0.18272,
    "h": 296.7
  },
  "luminance": 0.14409
}

Semantic roles & 50–950 ramp

primary
#7D50CB
secondary
#C2D5A2
accent
#DE4AA8
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7D50CB

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

Preview Lab → · Contrast checker → · Palette generator →

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