#7B299B#7B299B

#7B299B is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.7% C 0.182 H 314.6°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#7B299B
RGBrgb(123, 41, 155)
HSLhsl(283, 58%, 38%)
HSVhsv(283, 74%, 61%)
CMYKcmyk(20.6%, 73.5%, 0%, 39.2%)
CIE-LABlab(34.32, 52.55, -45.93)
CIE-LCHlch(34.32, 69.79, 318.85°)
OKLaboklab(45.71% 0.1277 -0.1295)
OKLCHoklch(45.71% 0.182 314.6)
XYZxyz(14.8767, 8.1639, 31.7961)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B299B #499B29
analogous
#42299B #7B299B #9B2982
triadic
#7B299B #9B7B29 #299B7B
tetradic
#7B299B #9B4229 #499B29 #29829B
square
#7B299B #9B4229 #499B29 #29829B
split-complementary
#7B299B #829B29 #299B42
monochromatic
#2E0F3A #551C6B #7B299B #A137CA #B867D7

Accessibility & contrast

On white

7.98
#7B299B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B299B
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B299B#FFFFFF#000000##FFFFFF
##7B299B1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9E
Deuteranopia (green-blind)
#235398
Tritanopia (blue-blind)
#784160
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7b299b;
/* rgb */ color: rgb(123, 41, 155);
/* oklch */ color: oklch(45.7% 0.182 314.6);
Tailwind
colors: {
  custom: {
    50: '#a56bb9',
    500: '#7b299b',
    950: '#000000',
  },
}
SCSS
$custom: #7b299b;
$custom-light: #a56bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b299b",
  "rgb": {
    "r": 123,
    "g": 41,
    "b": 155
  },
  "hsl": {
    "h": 283.158,
    "s": 58.163,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45708,
    "c": 0.18183,
    "h": 314.6
  },
  "luminance": 0.08163
}

Semantic roles & 50–950 ramp

primary
#7B299B
secondary
#7CBD63
accent
#E14672
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7B299B

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

Preview Lab → · Contrast checker → · Palette generator →

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