#7D50B2#7D50B2

#7D50B2 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.7% C 0.152 H 302.7°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#7D50B2
RGBrgb(125, 80, 178)
HSLhsl(268, 39%, 51%)
HSVhsv(268, 55%, 70%)
CMYKcmyk(29.8%, 55.1%, 0%, 30.2%)
CIE-LABlab(43.23, 38.89, -45.36)
CIE-LCHlch(43.23, 59.75, 310.61°)
OKLaboklab(52.69% 0.0822 -0.128)
OKLCHoklch(52.69% 0.152 302.7)
XYZxyz(19.3602, 13.3116, 43.6603)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D50B2 #85B250
analogous
#5054B2 #7D50B2 #AE50B2
triadic
#7D50B2 #B27D50 #50B27D
tetradic
#7D50B2 #B25054 #85B250 #50B2AE
square
#7D50B2 #B25054 #85B250 #50B2AE
split-complementary
#7D50B2 #B2AE50 #54B250
monochromatic
#42295E #5F3C89 #7D50B2 #9D7AC5 #BCA5D7

Accessibility & contrast

On white

5.73
#7D50B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#7D50B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D50B2
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D50B2#FFFFFF#000000##FFFFFF
##7D50B21.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B65B5
Deuteranopia (green-blind)
#3A66B0
Tritanopia (blue-blind)
#736379
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7d50b2;
/* rgb */ color: rgb(125, 80, 178);
/* oklch */ color: oklch(52.7% 0.152 302.7);
Tailwind
colors: {
  custom: {
    50: '#a683c9',
    500: '#7d50b2',
    950: '#000000',
  },
}
SCSS
$custom: #7d50b2;
$custom-light: #a683c9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d50b2",
  "rgb": {
    "r": 125,
    "g": 80,
    "b": 178
  },
  "hsl": {
    "h": 267.551,
    "s": 38.889,
    "l": 50.588
  },
  "oklch": {
    "l": 0.52692,
    "c": 0.15208,
    "h": 302.7
  },
  "luminance": 0.13312
}

Semantic roles & 50–950 ramp

primary
#7D50B2
secondary
#B1C599
accent
#CF5999
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100B13
muted
#7F7C82

Preview Lab

Preview with #7D50B2

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

Preview Lab → · Contrast checker → · Palette generator →

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