#7B2E90#7B2E90

#7B2E90 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.5% C 0.165 H 318.3°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#7B2E90
RGBrgb(123, 46, 144)
HSLhsl(287, 52%, 37%)
HSVhsv(287, 68%, 56%)
CMYKcmyk(14.6%, 68.1%, 0%, 43.5%)
CIE-LABlab(34.35, 48.14, -39.16)
CIE-LCHlch(34.35, 62.06, 320.87°)
OKLaboklab(45.5% 0.1231 -0.1097)
OKLCHoklch(45.5% 0.165 318.3)
XYZxyz(14.1787, 8.1792, 27.2120)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2E90 #43902E
analogous
#4A2E90 #7B2E90 #902E74
triadic
#7B2E90 #907B2E #2E907B
tetradic
#7B2E90 #904A2E #43902E #2E7490
square
#7B2E90 #904A2E #43902E #2E7490
split-complementary
#7B2E90 #74902E #2E904A
monochromatic
#2C1033 #531F62 #7B2E90 #A33DBE #B969CF

Accessibility & contrast

On white

7.97
#7B2E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7B2E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2E90
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2E90#FFFFFF#000000##FFFFFF
##7B2E901.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064C93
Deuteranopia (green-blind)
#33538E
Tritanopia (blue-blind)
#7B405B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7b2e90;
/* rgb */ color: rgb(123, 46, 144);
/* oklch */ color: oklch(45.5% 0.165 318.3);
Tailwind
colors: {
  custom: {
    50: '#a46db1',
    500: '#7b2e90',
    950: '#000000',
  },
}
SCSS
$custom: #7b2e90;
$custom-light: #a46db1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2e90",
  "rgb": {
    "r": 123,
    "g": 46,
    "b": 144
  },
  "hsl": {
    "h": 287.143,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45499,
    "c": 0.16486,
    "h": 318.3
  },
  "luminance": 0.08179
}

Semantic roles & 50–950 ramp

primary
#7B2E90
secondary
#75B664
accent
#DB4D6B
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7B2E90

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

Preview Lab → · Contrast checker → · Palette generator →

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