#7B2783#7B2783

#7B2783 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.9% C 0.162 H 324.2°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#7B2783
RGBrgb(123, 39, 131)
HSLhsl(295, 54%, 33%)
HSVhsv(295, 70%, 51%)
CMYKcmyk(6.1%, 70.2%, 0%, 48.6%)
CIE-LABlab(32.48, 48.57, -34.11)
CIE-LCHlch(32.48, 59.35, 324.92°)
OKLaboklab(43.9% 0.1314 -0.0949)
OKLCHoklch(43.9% 0.162 324.2)
XYZxyz(12.9903, 7.3015, 22.1934)
Luminance0.0730 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2783 #2F8327
analogous
#4D2783 #7B2783 #83275D
triadic
#7B2783 #837B27 #27837B
tetradic
#7B2783 #834D27 #2F8327 #275D83
square
#7B2783 #834D27 #2F8327 #275D83
split-complementary
#7B2783 #5D8327 #27834D
monochromatic
#220B25 #4F1954 #7B2783 #A735B2 #C357CD

Accessibility & contrast

On white

8.54
#7B2783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7B2783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2783
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2783#FFFFFF#000000##FFFFFF
##7B27831.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104686
Deuteranopia (green-blind)
#375081
Tritanopia (blue-blind)
#7D3652
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7b2783;
/* rgb */ color: rgb(123, 39, 131);
/* oklch */ color: oklch(43.9% 0.162 324.2);
Tailwind
colors: {
  custom: {
    50: '#a469a7',
    500: '#7b2783',
    950: '#000000',
  },
}
SCSS
$custom: #7b2783;
$custom-light: #a469a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2783",
  "rgb": {
    "r": 123,
    "g": 39,
    "b": 131
  },
  "hsl": {
    "h": 294.783,
    "s": 54.118,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43898,
    "c": 0.16209,
    "h": 324.2
  },
  "luminance": 0.07301
}

Semantic roles & 50–950 ramp

primary
#7B2783
secondary
#5CB254
accent
#DD4A57
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7B2783

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

Preview Lab → · Contrast checker → · Palette generator →

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