#7B3097#7B3097

#7B3097 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.2% C 0.169 H 315.4°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#7B3097
RGBrgb(123, 48, 151)
HSLhsl(284, 52%, 39%)
HSVhsv(284, 68%, 59%)
CMYKcmyk(18.5%, 68.2%, 0%, 40.8%)
CIE-LABlab(35.12, 48.70, -42.21)
CIE-LCHlch(35.12, 64.45, 319.09°)
OKLaboklab(46.2% 0.1204 -0.1186)
OKLCHoklch(46.2% 0.169 315.4)
XYZxyz(14.8104, 8.5598, 30.1442)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3097 #4C9730
analogous
#483097 #7B3097 #973080
triadic
#7B3097 #977B30 #30977B
tetradic
#7B3097 #974830 #4C9730 #308097
square
#7B3097 #974830 #4C9730 #308097
split-complementary
#7B3097 #809730 #309748
monochromatic
#2F123A #552169 #7B3097 #A041C3 #B770D2

Accessibility & contrast

On white

7.74
#7B3097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#7B3097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B3097
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3097#FFFFFF#000000##FFFFFF
##7B30971.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#2E5595
Tritanopia (blue-blind)
#79445F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7b3097;
/* rgb */ color: rgb(123, 48, 151);
/* oklch */ color: oklch(46.2% 0.169 315.4);
Tailwind
colors: {
  custom: {
    50: '#a46eb6',
    500: '#7b3097',
    950: '#000000',
  },
}
SCSS
$custom: #7b3097;
$custom-light: #a46eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3097",
  "rgb": {
    "r": 123,
    "g": 48,
    "b": 151
  },
  "hsl": {
    "h": 283.689,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46195,
    "c": 0.16902,
    "h": 315.4
  },
  "luminance": 0.08559
}

Semantic roles & 50–950 ramp

primary
#7B3097
secondary
#7FB96A
accent
#DB4D73
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #7B3097

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

Preview Lab → · Contrast checker → · Palette generator →

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