#7B2995#7B2995

#7B2995 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.3% C 0.176 H 316.8°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#7B2995
RGBrgb(123, 41, 149)
HSLhsl(286, 57%, 37%)
HSVhsv(286, 72%, 58%)
CMYKcmyk(17.4%, 72.5%, 0%, 41.6%)
CIE-LABlab(33.91, 51.31, -42.93)
CIE-LCHlch(33.91, 66.90, 320.08°)
OKLaboklab(45.29% 0.1283 -0.1207)
OKLCHoklch(45.29% 0.176 316.8)
XYZxyz(14.3853, 7.9673, 29.2080)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2995 #439529
analogous
#452995 #7B2995 #952979
triadic
#7B2995 #957B29 #29957B
tetradic
#7B2995 #954529 #439529 #297995
square
#7B2995 #954529 #439529 #297995
split-complementary
#7B2995 #799529 #299545
monochromatic
#2C0F35 #531C65 #7B2995 #A336C5 #B964D4

Accessibility & contrast

On white

8.10
#7B2995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7B2995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2995
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2995#FFFFFF#000000##FFFFFF
##7B29951.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B98
Deuteranopia (green-blind)
#2A5293
Tritanopia (blue-blind)
#7A3F5C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7b2995;
/* rgb */ color: rgb(123, 41, 149);
/* oklch */ color: oklch(45.3% 0.176 316.8);
Tailwind
colors: {
  custom: {
    50: '#a56bb5',
    500: '#7b2995',
    950: '#000000',
  },
}
SCSS
$custom: #7b2995;
$custom-light: #a56bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2995",
  "rgb": {
    "r": 123,
    "g": 41,
    "b": 149
  },
  "hsl": {
    "h": 285.556,
    "s": 56.842,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45288,
    "c": 0.17614,
    "h": 316.8
  },
  "luminance": 0.07967
}

Semantic roles & 50–950 ramp

primary
#7B2995
secondary
#75BA60
accent
#E0486C
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7B2995

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

Preview Lab → · Contrast checker → · Palette generator →

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