#7B2195#7B2195

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

Color values

HEX#7B2195
RGBrgb(123, 33, 149)
HSLhsl(287, 64%, 36%)
HSVhsv(287, 78%, 58%)
CMYKcmyk(17.4%, 77.9%, 0%, 41.6%)
CIE-LABlab(32.85, 54.34, -44.64)
CIE-LCHlch(32.85, 70.33, 320.60°)
OKLaboklab(44.53% 0.1361 -0.1257)
OKLCHoklch(44.53% 0.185 317.3)
XYZxyz(14.1363, 7.4692, 29.1250)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2195 #3B9521
analogous
#412195 #7B2195 #952175
triadic
#7B2195 #957B21 #21957B
tetradic
#7B2195 #954121 #3B9521 #217595
square
#7B2195 #954121 #3B9521 #217595
split-complementary
#7B2195 #759521 #219541
monochromatic
#280B31 #521663 #7B2195 #A42CC7 #BC57DA

Accessibility & contrast

On white

8.42
#7B2195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7B2195 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2195
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2195#FFFFFF#000000##FFFFFF
##7B21951.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b2195;
/* rgb */ color: rgb(123, 33, 149);
/* oklch */ color: oklch(44.5% 0.185 317.3);
Tailwind
colors: {
  custom: {
    50: '#a567b5',
    500: '#7b2195',
    950: '#000000',
  },
}
SCSS
$custom: #7b2195;
$custom-light: #a567b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2195",
  "rgb": {
    "r": 123,
    "g": 33,
    "b": 149
  },
  "hsl": {
    "h": 286.552,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44534,
    "c": 0.18524,
    "h": 317.3
  },
  "luminance": 0.07469
}

Semantic roles & 50–950 ramp

primary
#7B2195
secondary
#6CBE54
accent
#E74166
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7B2195

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

Preview Lab → · Contrast checker → · Palette generator →

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