#7D50CA#7D50CA

#7D50CA is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.3% C 0.182 H 296.9°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#7D50CA
RGBrgb(125, 80, 202)
HSLhsl(262, 54%, 55%)
HSVhsv(262, 60%, 79%)
CMYKcmyk(38.1%, 60.4%, 0%, 20.8%)
CIE-LABlab(44.75, 45.08, -56.90)
CIE-LCHlch(44.75, 72.60, 308.39°)
OKLaboklab(54.29% 0.0822 -0.1618)
OKLCHoklch(54.29% 0.182 296.9)
XYZxyz(21.9841, 14.3612, 57.4794)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D50CA #9DCA50
analogous
#5060CA #7D50CA #BA50CA
triadic
#7D50CA #CA7D50 #50CA7D
tetradic
#7D50CA #CA5060 #9DCA50 #50CABA
square
#7D50CA #CA5060 #9DCA50 #50CABA
split-complementary
#7D50CA #CABA50 #60CA50
monochromatic
#45257A #5F33A9 #7D50CA #A07FD8 #C3AEE6

Accessibility & contrast

On white

5.42
#7D50CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#7D50CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D50CA
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D50CA#FFFFFF#000000##FFFFFF
##7D50CA1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#1968C7
Tritanopia (blue-blind)
#6B6B85
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7d50ca;
/* rgb */ color: rgb(125, 80, 202);
/* oklch */ color: oklch(54.3% 0.182 296.9);
Tailwind
colors: {
  custom: {
    50: '#a883db',
    500: '#7d50ca',
    950: '#000000',
  },
}
SCSS
$custom: #7d50ca;
$custom-light: #a883db;
$custom-dark: #000000;
JSON
{
  "hex": "#7d50ca",
  "rgb": {
    "r": 125,
    "g": 80,
    "b": 202
  },
  "hsl": {
    "h": 262.131,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.54291,
    "c": 0.18152,
    "h": 296.9
  },
  "luminance": 0.14362
}

Semantic roles & 50–950 ramp

primary
#7D50CA
secondary
#C2D4A1
accent
#DD4BA7
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7D50CA

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

Preview Lab → · Contrast checker → · Palette generator →

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