#7B2D90#7B2D90

#7B2D90 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.4% C 0.166 H 318.4°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#7B2D90
RGBrgb(123, 45, 144)
HSLhsl(287, 52%, 37%)
HSVhsv(287, 69%, 56%)
CMYKcmyk(14.6%, 68.7%, 0%, 43.5%)
CIE-LABlab(34.19, 48.58, -39.42)
CIE-LCHlch(34.19, 62.56, 320.95°)
OKLaboklab(45.39% 0.1242 -0.1104)
OKLCHoklch(45.39% 0.166 318.4)
XYZxyz(14.1401, 8.1020, 27.1992)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2D90 #42902D
analogous
#4A2D90 #7B2D90 #902D74
triadic
#7B2D90 #907B2D #2D907B
tetradic
#7B2D90 #904A2D #42902D #2D7490
square
#7B2D90 #904A2D #42902D #2D7490
split-complementary
#7B2D90 #74902D #2D904A
monochromatic
#2B1033 #531E61 #7B2D90 #A33CBF #BA68D0

Accessibility & contrast

On white

8.01
#7B2D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7B2D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2D90
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2D90#FFFFFF#000000##FFFFFF
##7B2D901.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024B93
Deuteranopia (green-blind)
#32538E
Tritanopia (blue-blind)
#7B3F5B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7b2d90;
/* rgb */ color: rgb(123, 45, 144);
/* oklch */ color: oklch(45.4% 0.166 318.4);
Tailwind
colors: {
  custom: {
    50: '#a46cb1',
    500: '#7b2d90',
    950: '#000000',
  },
}
SCSS
$custom: #7b2d90;
$custom-light: #a46cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2d90",
  "rgb": {
    "r": 123,
    "g": 45,
    "b": 144
  },
  "hsl": {
    "h": 287.273,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45385,
    "c": 0.16622,
    "h": 318.4
  },
  "luminance": 0.08101
}

Semantic roles & 50–950 ramp

primary
#7B2D90
secondary
#74B662
accent
#DC4C6A
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7B2D90

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

Preview Lab → · Contrast checker → · Palette generator →

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