#7B2595#7B2595

#7B2595 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.9% C 0.181 H 317.0°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#7B2595
RGBrgb(123, 37, 149)
HSLhsl(286, 60%, 36%)
HSVhsv(286, 75%, 58%)
CMYKcmyk(17.4%, 75.2%, 0%, 41.6%)
CIE-LABlab(33.36, 52.89, -43.82)
CIE-LCHlch(33.36, 68.68, 320.36°)
OKLaboklab(44.89% 0.1324 -0.1233)
OKLCHoklch(44.89% 0.181 317)
XYZxyz(14.2540, 7.7046, 29.1643)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2595 #3F9525
analogous
#432595 #7B2595 #952577
triadic
#7B2595 #957B25 #25957B
tetradic
#7B2595 #954325 #3F9525 #257795
square
#7B2595 #954325 #3F9525 #257795
split-complementary
#7B2595 #779525 #259543
monochromatic
#2A0D33 #531964 #7B2595 #A331C6 #BB5ED7

Accessibility & contrast

On white

8.27
#7B2595 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#7B2595 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2595
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2595#FFFFFF#000000##FFFFFF
##7B25951.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004998
Deuteranopia (green-blind)
#275193
Tritanopia (blue-blind)
#7A3D5B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7b2595;
/* rgb */ color: rgb(123, 37, 149);
/* oklch */ color: oklch(44.9% 0.181 317.0);
Tailwind
colors: {
  custom: {
    50: '#a569b5',
    500: '#7b2595',
    950: '#000000',
  },
}
SCSS
$custom: #7b2595;
$custom-light: #a569b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2595",
  "rgb": {
    "r": 123,
    "g": 37,
    "b": 149
  },
  "hsl": {
    "h": 286.071,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44894,
    "c": 0.18089,
    "h": 317
  },
  "luminance": 0.07704
}

Semantic roles & 50–950 ramp

primary
#7B2595
secondary
#71BC5A
accent
#E34469
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7B2595

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

Preview Lab → · Contrast checker → · Palette generator →

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