#7B299E#7B299E

#7B299E is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.9% C 0.185 H 313.6°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#7B299E
RGBrgb(123, 41, 158)
HSLhsl(282, 59%, 39%)
HSVhsv(282, 74%, 62%)
CMYKcmyk(22.2%, 74.1%, 0%, 38%)
CIE-LABlab(34.53, 53.19, -47.41)
CIE-LCHlch(34.53, 71.25, 318.29°)
OKLaboklab(45.92% 0.1273 -0.1338)
OKLCHoklch(45.92% 0.185 313.6)
XYZxyz(15.1318, 8.2659, 33.1395)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B299E #4C9E29
analogous
#41299E #7B299E #9E2987
triadic
#7B299E #9E7B29 #299E7B
tetradic
#7B299E #9E4129 #4C9E29 #29879E
square
#7B299E #9E4129 #4C9E29 #29879E
split-complementary
#7B299E #879E29 #299E41
monochromatic
#2F103D #551C6D #7B299E #A039CC #B769D8

Accessibility & contrast

On white

7.92
#7B299E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7B299E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B299E
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B299E#FFFFFF#000000##FFFFFF
##7B299E1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA1
Deuteranopia (green-blind)
#1F539B
Tritanopia (blue-blind)
#774361
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7b299e;
/* rgb */ color: rgb(123, 41, 158);
/* oklch */ color: oklch(45.9% 0.185 313.6);
Tailwind
colors: {
  custom: {
    50: '#a56bbb',
    500: '#7b299e',
    950: '#000000',
  },
}
SCSS
$custom: #7b299e;
$custom-light: #a56bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b299e",
  "rgb": {
    "r": 123,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 282.051,
    "s": 58.794,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45923,
    "c": 0.18469,
    "h": 313.6
  },
  "luminance": 0.08265
}

Semantic roles & 50–950 ramp

primary
#7B299E
secondary
#7FBF64
accent
#E24675
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7B299E

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

Preview Lab → · Contrast checker → · Palette generator →

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