#7B3FA7#7B3FA7

#7B3FA7 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.2% C 0.165 H 308.1°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#7B3FA7
RGBrgb(123, 63, 167)
HSLhsl(275, 45%, 45%)
HSVhsv(275, 62%, 65%)
CMYKcmyk(26.3%, 62.3%, 0%, 34.5%)
CIE-LABlab(38.82, 44.96, -45.92)
CIE-LCHlch(38.82, 64.26, 314.40°)
OKLaboklab(49.2% 0.1015 -0.1296)
OKLCHoklch(49.2% 0.165 308.1)
XYZxyz(16.9195, 10.5562, 37.6980)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3FA7 #6BA73F
analogous
#473FA7 #7B3FA7 #A73F9F
triadic
#7B3FA7 #A77B3F #3FA77B
tetradic
#7B3FA7 #A7473F #6BA73F #3F9FA7
square
#7B3FA7 #A7473F #6BA73F #3F9FA7
split-complementary
#7B3FA7 #9FA73F #3FA747
monochromatic
#3A1D4E #5A2E7B #7B3FA7 #9960C3 #B68DD4

Accessibility & contrast

On white

6.75
#7B3FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#7B3FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3FA7
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3FA7#FFFFFF#000000##FFFFFF
##7B3FA71.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B59AA
Deuteranopia (green-blind)
#2E5CA5
Tritanopia (blue-blind)
#74546D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7b3fa7;
/* rgb */ color: rgb(123, 63, 167);
/* oklch */ color: oklch(49.2% 0.165 308.1);
Tailwind
colors: {
  custom: {
    50: '#a477c2',
    500: '#7b3fa7',
    950: '#000000',
  },
}
SCSS
$custom: #7b3fa7;
$custom-light: #a477c2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3fa7",
  "rgb": {
    "r": 123,
    "g": 63,
    "b": 167
  },
  "hsl": {
    "h": 274.615,
    "s": 45.217,
    "l": 45.098
  },
  "oklch": {
    "l": 0.49196,
    "c": 0.16459,
    "h": 308.1
  },
  "luminance": 0.10556
}

Semantic roles & 50–950 ramp

primary
#7B3FA7
secondary
#9CBF83
accent
#D5538A
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100912
muted
#7F7B81

Preview Lab

Preview with #7B3FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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