#7B2C90#7B2C90

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

Color values

HEX#7B2C90
RGBrgb(123, 44, 144)
HSLhsl(287, 53%, 37%)
HSVhsv(287, 69%, 56%)
CMYKcmyk(14.6%, 69.4%, 0%, 43.5%)
CIE-LABlab(34.04, 49.02, -39.67)
CIE-LCHlch(34.04, 63.06, 321.02°)
OKLaboklab(45.27% 0.1254 -0.1112)
OKLCHoklch(45.27% 0.168 318.4)
XYZxyz(14.1024, 8.0266, 27.1866)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2C90 #41902C
analogous
#492C90 #7B2C90 #902C73
triadic
#7B2C90 #907B2C #2C907B
tetradic
#7B2C90 #90492C #41902C #2C7390
square
#7B2C90 #90492C #41902C #2C7390
split-complementary
#7B2C90 #73902C #2C9049
monochromatic
#2B0F32 #531E61 #7B2C90 #A33ABF #BA66D0

Accessibility & contrast

On white

8.06
#7B2C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7B2C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2C90
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2C90#FFFFFF#000000##FFFFFF
##7B2C901.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B93
Deuteranopia (green-blind)
#31538E
Tritanopia (blue-blind)
#7B3F5A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7b2c90;
/* rgb */ color: rgb(123, 44, 144);
/* oklch */ color: oklch(45.3% 0.168 318.4);
Tailwind
colors: {
  custom: {
    50: '#a46cb1',
    500: '#7b2c90',
    950: '#000000',
  },
}
SCSS
$custom: #7b2c90;
$custom-light: #a46cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2c90",
  "rgb": {
    "r": 123,
    "g": 44,
    "b": 144
  },
  "hsl": {
    "h": 287.4,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45272,
    "c": 0.16756,
    "h": 318.4
  },
  "luminance": 0.08026
}

Semantic roles & 50–950 ramp

primary
#7B2C90
secondary
#73B761
accent
#DD4B6A
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7B2C90

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

Preview Lab → · Contrast checker → · Palette generator →

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