#7B299A#7B299A

#7B299A is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.6% C 0.181 H 314.9°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#7B299A
RGBrgb(123, 41, 154)
HSLhsl(284, 58%, 38%)
HSVhsv(284, 73%, 60%)
CMYKcmyk(20.1%, 73.4%, 0%, 39.6%)
CIE-LABlab(34.25, 52.34, -45.43)
CIE-LCHlch(34.25, 69.31, 319.05°)
OKLaboklab(45.64% 0.1278 -0.128)
OKLCHoklch(45.64% 0.181 314.9)
XYZxyz(14.7931, 8.1305, 31.3557)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B299A #489A29
analogous
#42299A #7B299A #9A2980
triadic
#7B299A #9A7B29 #299A7B
tetradic
#7B299A #9A4229 #489A29 #29809A
square
#7B299A #9A4229 #489A29 #29809A
split-complementary
#7B299A #809A29 #299A42
monochromatic
#2E0F39 #541C6A #7B299A #A137CA #B867D7

Accessibility & contrast

On white

8.00
#7B299A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#7B299A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B299A
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B299A#FFFFFF#000000##FFFFFF
##7B299A1.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9D
Deuteranopia (green-blind)
#255397
Tritanopia (blue-blind)
#78415F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7b299a;
/* rgb */ color: rgb(123, 41, 154);
/* oklch */ color: oklch(45.6% 0.181 314.9);
Tailwind
colors: {
  custom: {
    50: '#a56bb8',
    500: '#7b299a',
    950: '#000000',
  },
}
SCSS
$custom: #7b299a;
$custom-light: #a56bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b299a",
  "rgb": {
    "r": 123,
    "g": 41,
    "b": 154
  },
  "hsl": {
    "h": 283.54,
    "s": 57.949,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45637,
    "c": 0.18089,
    "h": 314.9
  },
  "luminance": 0.0813
}

Semantic roles & 50–950 ramp

primary
#7B299A
secondary
#7BBD62
accent
#E14771
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7B299A

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

Preview Lab → · Contrast checker → · Palette generator →

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