#7B2893#7B2893

#7B2893 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.0% C 0.175 H 317.6°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#7B2893
RGBrgb(123, 40, 147)
HSLhsl(287, 57%, 37%)
HSVhsv(287, 73%, 58%)
CMYKcmyk(16.3%, 72.8%, 0%, 42.4%)
CIE-LABlab(33.64, 51.31, -42.15)
CIE-LCHlch(33.64, 66.40, 320.60°)
OKLaboklab(45.05% 0.1295 -0.1184)
OKLCHoklch(45.05% 0.176 317.6)
XYZxyz(14.1929, 7.8357, 28.3629)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2893 #409328
analogous
#462893 #7B2893 #932876
triadic
#7B2893 #937B28 #28937B
tetradic
#7B2893 #934628 #409328 #287693
square
#7B2893 #934628 #409328 #287693
split-complementary
#7B2893 #769328 #289346
monochromatic
#2A0E33 #531B63 #7B2893 #A335C3 #BA61D4

Accessibility & contrast

On white

8.18
#7B2893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#7B2893 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2893
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2893#FFFFFF#000000##FFFFFF
##7B28931.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A96
Deuteranopia (green-blind)
#2B5291
Tritanopia (blue-blind)
#7A3D5B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7b2893;
/* rgb */ color: rgb(123, 40, 147);
/* oklch */ color: oklch(45.0% 0.175 317.6);
Tailwind
colors: {
  custom: {
    50: '#a56ab3',
    500: '#7b2893',
    950: '#000000',
  },
}
SCSS
$custom: #7b2893;
$custom-light: #a56ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2893",
  "rgb": {
    "r": 123,
    "g": 40,
    "b": 147
  },
  "hsl": {
    "h": 286.542,
    "s": 57.219,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45049,
    "c": 0.1755,
    "h": 317.6
  },
  "luminance": 0.07835
}

Semantic roles & 50–950 ramp

primary
#7B2893
secondary
#72BA5D
accent
#E0476A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7B2893

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

Preview Lab → · Contrast checker → · Palette generator →

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