#7B3E95#7B3E95

#7B3E95 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 47.9% C 0.146 H 314.6°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#7B3E95
RGBrgb(123, 62, 149)
HSLhsl(282, 41%, 41%)
HSVhsv(282, 58%, 58%)
CMYKcmyk(17.4%, 58.4%, 0%, 41.6%)
CIE-LABlab(37.53, 41.35, -37.15)
CIE-LCHlch(37.53, 55.59, 318.06°)
OKLaboklab(47.9% 0.1026 -0.1039)
OKLCHoklch(47.9% 0.146 314.6)
XYZxyz(15.3149, 9.8266, 29.5179)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3E95 #58953E
analogous
#503E95 #7B3E95 #953E84
triadic
#7B3E95 #957B3E #3E957B
tetradic
#7B3E95 #95503E #58953E #3E8495
square
#7B3E95 #95503E #58953E #3E8495
split-complementary
#7B3E95 #84953E #3E9550
monochromatic
#341A3F #572C6A #7B3E95 #9C57B9 #B582CB

Accessibility & contrast

On white

7.08
#7B3E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#7B3E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B3E95
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3E95#FFFFFF#000000##FFFFFF
##7B3E951.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265598
Deuteranopia (green-blind)
#3C5A93
Tritanopia (blue-blind)
#794D63
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7b3e95;
/* rgb */ color: rgb(123, 62, 149);
/* oklch */ color: oklch(47.9% 0.146 314.6);
Tailwind
colors: {
  custom: {
    50: '#a476b4',
    500: '#7b3e95',
    950: '#000000',
  },
}
SCSS
$custom: #7b3e95;
$custom-light: #a476b4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3e95",
  "rgb": {
    "r": 123,
    "g": 62,
    "b": 149
  },
  "hsl": {
    "h": 282.069,
    "s": 41.232,
    "l": 41.373
  },
  "oklch": {
    "l": 0.479,
    "c": 0.14606,
    "h": 314.6
  },
  "luminance": 0.09826
}

Semantic roles & 50–950 ramp

primary
#7B3E95
secondary
#8BB57A
accent
#D1577B
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #7B3E95

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

Preview Lab → · Contrast checker → · Palette generator →

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