#7B2095#7B2095

#7B2095 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.5% C 0.186 H 317.3°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#7B2095
RGBrgb(123, 32, 149)
HSLhsl(287, 65%, 35%)
HSVhsv(287, 79%, 58%)
CMYKcmyk(17.4%, 78.5%, 0%, 41.6%)
CIE-LABlab(32.73, 54.69, -44.83)
CIE-LCHlch(32.73, 70.71, 320.66°)
OKLaboklab(44.45% 0.137 -0.1262)
OKLCHoklch(44.45% 0.186 317.3)
XYZxyz(14.1089, 7.4145, 29.1159)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2095 #3A9520
analogous
#412095 #7B2095 #952074
triadic
#7B2095 #957B20 #20957B
tetradic
#7B2095 #954120 #3A9520 #207495
square
#7B2095 #954120 #3A9520 #207495
split-complementary
#7B2095 #749520 #209541
monochromatic
#280A30 #511563 #7B2095 #A52BC7 #BD55DA

Accessibility & contrast

On white

8.46
#7B2095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7B2095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2095
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2095#FFFFFF#000000##FFFFFF
##7B20951.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004798
Deuteranopia (green-blind)
#235092
Tritanopia (blue-blind)
#7A3A5A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7b2095;
/* rgb */ color: rgb(123, 32, 149);
/* oklch */ color: oklch(44.5% 0.186 317.3);
Tailwind
colors: {
  custom: {
    50: '#a567b5',
    500: '#7b2095',
    950: '#000000',
  },
}
SCSS
$custom: #7b2095;
$custom-light: #a567b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2095",
  "rgb": {
    "r": 123,
    "g": 32,
    "b": 149
  },
  "hsl": {
    "h": 286.667,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4445,
    "c": 0.18627,
    "h": 317.3
  },
  "luminance": 0.07414
}

Semantic roles & 50–950 ramp

primary
#7B2095
secondary
#6BBE53
accent
#E84065
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7B2095

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

Preview Lab → · Contrast checker → · Palette generator →

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