#7D50CD#7D50CD

#7D50CD is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.5% C 0.185 H 296.3°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7D50CD
RGBrgb(125, 80, 205)
HSLhsl(262, 56%, 56%)
HSVhsv(262, 61%, 80%)
CMYKcmyk(39%, 61%, 0%, 19.6%)
CIE-LABlab(44.95, 45.87, -58.31)
CIE-LCHlch(44.95, 74.19, 308.19°)
OKLaboklab(54.5% 0.082 -0.166)
OKLCHoklch(54.5% 0.185 296.3)
XYZxyz(22.3427, 14.5047, 59.3683)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D50CD #A0CD50
analogous
#5061CD #7D50CD #BB50CD
triadic
#7D50CD #CD7D50 #50CD7D
tetradic
#7D50CD #CD5061 #A0CD50 #50CDBB
square
#7D50CD #CD5061 #A0CD50 #50CDBB
split-complementary
#7D50CD #CDBB50 #61CD50
monochromatic
#45247E #5E32AE #7D50CD #A080DB #C4AFE8

Accessibility & contrast

On white

5.38
#7D50CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#7D50CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D50CD
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D50CD#FFFFFF#000000##FFFFFF
##7D50CD1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#1069CA
Tritanopia (blue-blind)
#696C87
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7d50cd;
/* rgb */ color: rgb(125, 80, 205);
/* oklch */ color: oklch(54.5% 0.185 296.3);
Tailwind
colors: {
  custom: {
    50: '#a883dd',
    500: '#7d50cd',
    950: '#000000',
  },
}
SCSS
$custom: #7d50cd;
$custom-light: #a883dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d50cd",
  "rgb": {
    "r": 125,
    "g": 80,
    "b": 205
  },
  "hsl": {
    "h": 261.6,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54502,
    "c": 0.18514,
    "h": 296.3
  },
  "luminance": 0.14505
}

Semantic roles & 50–950 ramp

primary
#7D50CD
secondary
#C4D6A2
accent
#DF49A9
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7D50CD

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

Preview Lab → · Contrast checker → · Palette generator →

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