#7B2E92#7B2E92

#7B2E92 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.6% C 0.167 H 317.5°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#7B2E92
RGBrgb(123, 46, 146)
HSLhsl(286, 52%, 38%)
HSVhsv(286, 68%, 57%)
CMYKcmyk(15.8%, 68.5%, 0%, 42.7%)
CIE-LABlab(34.48, 48.55, -40.19)
CIE-LCHlch(34.48, 63.02, 320.38°)
OKLaboklab(45.63% 0.123 -0.1127)
OKLCHoklch(45.63% 0.167 317.5)
XYZxyz(14.3329, 8.2409, 28.0242)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2E92 #45922E
analogous
#492E92 #7B2E92 #922E77
triadic
#7B2E92 #927B2E #2E927B
tetradic
#7B2E92 #92492E #45922E #2E7792
square
#7B2E92 #92492E #45922E #2E7792
split-complementary
#7B2E92 #77922E #2E9249
monochromatic
#2D1135 #541F63 #7B2E92 #A23DC1 #B96AD0

Accessibility & contrast

On white

7.93
#7B2E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7B2E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2E92
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2E92#FFFFFF#000000##FFFFFF
##7B2E921.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C95
Deuteranopia (green-blind)
#315390
Tritanopia (blue-blind)
#7A415C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7b2e92;
/* rgb */ color: rgb(123, 46, 146);
/* oklch */ color: oklch(45.6% 0.167 317.5);
Tailwind
colors: {
  custom: {
    50: '#a46db2',
    500: '#7b2e92',
    950: '#000000',
  },
}
SCSS
$custom: #7b2e92;
$custom-light: #a46db2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2e92",
  "rgb": {
    "r": 123,
    "g": 46,
    "b": 146
  },
  "hsl": {
    "h": 286.2,
    "s": 52.083,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4563,
    "c": 0.1668,
    "h": 317.5
  },
  "luminance": 0.0824
}

Semantic roles & 50–950 ramp

primary
#7B2E92
secondary
#78B765
accent
#DC4C6D
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7B2E92

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

Preview Lab → · Contrast checker → · Palette generator →

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