#7B3F97#7B3F97

#7B3F97 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.2% C 0.147 H 313.7°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#7B3F97
RGBrgb(123, 63, 151)
HSLhsl(281, 41%, 42%)
HSVhsv(281, 58%, 59%)
CMYKcmyk(18.5%, 58.3%, 0%, 40.8%)
CIE-LABlab(37.84, 41.27, -37.86)
CIE-LCHlch(37.84, 56.00, 317.46°)
OKLaboklab(48.17% 0.1014 -0.106)
OKLCHoklch(48.17% 0.147 313.7)
XYZxyz(15.5309, 10.0008, 30.3844)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3F97 #5B973F
analogous
#4F3F97 #7B3F97 #973F87
triadic
#7B3F97 #977B3F #3F977B
tetradic
#7B3F97 #974F3F #5B973F #3F8797
square
#7B3F97 #974F3F #5B973F #3F8797
split-complementary
#7B3F97 #87973F #3F974F
monochromatic
#351B41 #582D6C #7B3F97 #9B59BA #B585CC

Accessibility & contrast

On white

7.00
#7B3F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#7B3F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3F97
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3F97#FFFFFF#000000##FFFFFF
##7B3F971.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26569A
Deuteranopia (green-blind)
#3C5B95
Tritanopia (blue-blind)
#794E65
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7b3f97;
/* rgb */ color: rgb(123, 63, 151);
/* oklch */ color: oklch(48.2% 0.147 313.7);
Tailwind
colors: {
  custom: {
    50: '#a477b6',
    500: '#7b3f97',
    950: '#000000',
  },
}
SCSS
$custom: #7b3f97;
$custom-light: #a477b6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3f97",
  "rgb": {
    "r": 123,
    "g": 63,
    "b": 151
  },
  "hsl": {
    "h": 280.909,
    "s": 41.121,
    "l": 41.961
  },
  "oklch": {
    "l": 0.48168,
    "c": 0.14667,
    "h": 313.7
  },
  "luminance": 0.1
}

Semantic roles & 50–950 ramp

primary
#7B3F97
secondary
#8EB67C
accent
#D1577E
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #7B3F97

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

Preview Lab → · Contrast checker → · Palette generator →

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