#7B309A#7B309A

#7B309A is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.4% C 0.172 H 314.3°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#7B309A
RGBrgb(123, 48, 154)
HSLhsl(282, 52%, 40%)
HSVhsv(282, 69%, 60%)
CMYKcmyk(20.1%, 68.8%, 0%, 39.6%)
CIE-LABlab(35.32, 49.35, -43.72)
CIE-LCHlch(35.32, 65.93, 318.46°)
OKLaboklab(46.4% 0.1202 -0.1231)
OKLCHoklch(46.4% 0.172 314.3)
XYZxyz(15.0571, 8.6584, 31.4437)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B309A #4F9A30
analogous
#46309A #7B309A #9A3084
triadic
#7B309A #9A7B30 #309A7B
tetradic
#7B309A #9A4630 #4F9A30 #30849A
square
#7B309A #9A4630 #4F9A30 #30849A
split-complementary
#7B309A #849A30 #309A46
monochromatic
#30133D #56216B #7B309A #9E43C4 #B672D3

Accessibility & contrast

On white

7.69
#7B309A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#7B309A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B309A
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B309A#FFFFFF#000000##FFFFFF
##7B309A1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9D
Deuteranopia (green-blind)
#2B5598
Tritanopia (blue-blind)
#784561
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7b309a;
/* rgb */ color: rgb(123, 48, 154);
/* oklch */ color: oklch(46.4% 0.172 314.3);
Tailwind
colors: {
  custom: {
    50: '#a56eb8',
    500: '#7b309a',
    950: '#000000',
  },
}
SCSS
$custom: #7b309a;
$custom-light: #a56eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b309a",
  "rgb": {
    "r": 123,
    "g": 48,
    "b": 154
  },
  "hsl": {
    "h": 282.453,
    "s": 52.475,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46398,
    "c": 0.17202,
    "h": 314.3
  },
  "luminance": 0.08658
}

Semantic roles & 50–950 ramp

primary
#7B309A
secondary
#82BB6B
accent
#DC4C76
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #7B309A

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

Preview Lab → · Contrast checker → · Palette generator →

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