#7D50D5#7D50D5

#7D50D5 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.1% C 0.195 H 294.7°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#7D50D5
RGBrgb(125, 80, 213)
HSLhsl(260, 61%, 57%)
HSVhsv(260, 62%, 84%)
CMYKcmyk(41.3%, 62.4%, 0%, 16.5%)
CIE-LABlab(45.50, 48.00, -62.01)
CIE-LCHlch(45.50, 78.42, 307.74°)
OKLaboklab(55.08% 0.0815 -0.1769)
OKLCHoklch(55.08% 0.195 294.7)
XYZxyz(23.3332, 14.9008, 64.5847)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D50D5 #A8D550
analogous
#5065D5 #7D50D5 #C050D5
triadic
#7D50D5 #D57D50 #50D57D
tetradic
#7D50D5 #D55065 #A8D550 #50D5C0
square
#7D50D5 #D55065 #A8D550 #50D5C0
split-complementary
#7D50D5 #D5C050 #65D550
monochromatic
#44218A #5D2DBB #7D50D5 #A281E1 #C6B3ED

Accessibility & contrast

On white

5.28
#7D50D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#7D50D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D50D5
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D50D5#FFFFFF#000000##FFFFFF
##7D50D51.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD9
Deuteranopia (green-blind)
#006AD2
Tritanopia (blue-blind)
#666E8B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7d50d5;
/* rgb */ color: rgb(125, 80, 213);
/* oklch */ color: oklch(55.1% 0.195 294.7);
Tailwind
colors: {
  custom: {
    50: '#a983e3',
    500: '#7d50d5',
    950: '#000000',
  },
}
SCSS
$custom: #7d50d5;
$custom-light: #a983e3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d50d5",
  "rgb": {
    "r": 125,
    "g": 80,
    "b": 213
  },
  "hsl": {
    "h": 260.301,
    "s": 61.29,
    "l": 57.451
  },
  "oklch": {
    "l": 0.55076,
    "c": 0.19475,
    "h": 294.7
  },
  "luminance": 0.14901
}

Semantic roles & 50–950 ramp

primary
#7D50D5
secondary
#C9DBA6
accent
#E443AE
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B15
muted
#7F7C84

Preview Lab

Preview with #7D50D5

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

Preview Lab → · Contrast checker → · Palette generator →

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