#7B307D#7B307D

#7B307D is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.6% C 0.144 H 326.6°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#7B307D
RGBrgb(123, 48, 125)
HSLhsl(298, 45%, 34%)
HSVhsv(298, 62%, 49%)
CMYKcmyk(1.6%, 61.6%, 0%, 51%)
CIE-LABlab(33.58, 43.44, -28.64)
CIE-LCHlch(33.58, 52.03, 326.61°)
OKLaboklab(44.58% 0.1201 -0.0791)
OKLCHoklch(44.58% 0.144 326.6)
XYZxyz(12.9268, 7.8063, 20.2240)
Luminance0.0781 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B307D #327D30
analogous
#55307D #7B307D #7D3059
triadic
#7B307D #7D7B30 #307D7B
tetradic
#7B307D #7D5530 #327D30 #30597D
square
#7B307D #7D5530 #327D30 #30597D
split-complementary
#7B307D #597D30 #307D55
monochromatic
#240E25 #4F1F51 #7B307D #A741A9 #C164C3

Accessibility & contrast

On white

8.20
#7B307D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7B307D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B307D
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B307D#FFFFFF#000000##FFFFFF
##7B307D1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26497F
Deuteranopia (green-blind)
#40527B
Tritanopia (blue-blind)
#7E3A52
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7b307d;
/* rgb */ color: rgb(123, 48, 125);
/* oklch */ color: oklch(44.6% 0.144 326.6);
Tailwind
colors: {
  custom: {
    50: '#a46da3',
    500: '#7b307d',
    950: '#000000',
  },
}
SCSS
$custom: #7b307d;
$custom-light: #a46da3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b307d",
  "rgb": {
    "r": 123,
    "g": 48,
    "b": 125
  },
  "hsl": {
    "h": 298.442,
    "s": 44.509,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44578,
    "c": 0.14378,
    "h": 326.6
  },
  "luminance": 0.07806
}

Semantic roles & 50–950 ramp

primary
#7B307D
secondary
#60AB5E
accent
#D45457
background
#FAF6FA
surface
#F4ECF3
border
#CEC7CD
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #7B307D

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

Preview Lab → · Contrast checker → · Palette generator →

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