#7D50AF#7D50AF

#7D50AF is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.5% C 0.148 H 303.6°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#7D50AF
RGBrgb(125, 80, 175)
HSLhsl(268, 37%, 50%)
HSVhsv(268, 54%, 69%)
CMYKcmyk(28.6%, 54.3%, 0%, 31.4%)
CIE-LABlab(43.05, 38.14, -43.88)
CIE-LCHlch(43.05, 58.14, 311.00°)
OKLaboklab(52.5% 0.082 -0.1236)
OKLCHoklch(52.5% 0.148 303.6)
XYZxyz(19.0623, 13.1925, 42.0913)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D50AF #82AF50
analogous
#5052AF #7D50AF #AD50AF
triadic
#7D50AF #AF7D50 #50AF7D
tetradic
#7D50AF #AF5052 #82AF50 #50AFAD
square
#7D50AF #AF5052 #82AF50 #50AFAD
split-complementary
#7D50AF #AFAD50 #52AF50
monochromatic
#412A5B #5F3D85 #7D50AF #9C7AC2 #BBA4D5

Accessibility & contrast

On white

5.77
#7D50AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#7D50AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D50AF
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D50AF#FFFFFF#000000##FFFFFF
##7D50AF1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E65B2
Deuteranopia (green-blind)
#3D66AD
Tritanopia (blue-blind)
#746278
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7d50af;
/* rgb */ color: rgb(125, 80, 175);
/* oklch */ color: oklch(52.5% 0.148 303.6);
Tailwind
colors: {
  custom: {
    50: '#a583c7',
    500: '#7d50af',
    950: '#000000',
  },
}
SCSS
$custom: #7d50af;
$custom-light: #a583c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d50af",
  "rgb": {
    "r": 125,
    "g": 80,
    "b": 175
  },
  "hsl": {
    "h": 268.421,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.52504,
    "c": 0.14837,
    "h": 303.6
  },
  "luminance": 0.13192
}

Semantic roles & 50–950 ramp

primary
#7D50AF
secondary
#AFC398
accent
#CD5B97
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100B13
muted
#7F7C82

Preview Lab

Preview with #7D50AF

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

Preview Lab → · Contrast checker → · Palette generator →

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