#7B3FA9#7B3FA9

#7B3FA9 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.3% C 0.167 H 307.4°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#7B3FA9
RGBrgb(123, 63, 169)
HSLhsl(274, 46%, 45%)
HSVhsv(274, 63%, 66%)
CMYKcmyk(27.2%, 62.7%, 0%, 33.7%)
CIE-LABlab(38.95, 45.44, -46.90)
CIE-LCHlch(38.95, 65.30, 314.09°)
OKLaboklab(49.33% 0.1014 -0.1325)
OKLCHoklch(49.33% 0.167 307.4)
XYZxyz(17.1058, 10.6308, 38.6792)
Luminance0.1063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3FA9 #6DA93F
analogous
#463FA9 #7B3FA9 #A93FA2
triadic
#7B3FA9 #A97B3F #3FA97B
tetradic
#7B3FA9 #A9463F #6DA93F #3FA2A9
square
#7B3FA9 #A9463F #6DA93F #3FA2A9
split-complementary
#7B3FA9 #A2A93F #3FA946
monochromatic
#3A1E50 #5B2E7C #7B3FA9 #9961C4 #B68ED5

Accessibility & contrast

On white

6.72
#7B3FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#7B3FA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3FA9
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3FA9#FFFFFF#000000##FFFFFF
##7B3FA91.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#045AAC
Deuteranopia (green-blind)
#2C5CA7
Tritanopia (blue-blind)
#74546E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7b3fa9;
/* rgb */ color: rgb(123, 63, 169);
/* oklch */ color: oklch(49.3% 0.167 307.4);
Tailwind
colors: {
  custom: {
    50: '#a577c3',
    500: '#7b3fa9',
    950: '#000000',
  },
}
SCSS
$custom: #7b3fa9;
$custom-light: #a577c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3fa9",
  "rgb": {
    "r": 123,
    "g": 63,
    "b": 169
  },
  "hsl": {
    "h": 273.962,
    "s": 45.69,
    "l": 45.49
  },
  "oklch": {
    "l": 0.49331,
    "c": 0.16684,
    "h": 307.4
  },
  "luminance": 0.10631
}

Semantic roles & 50–950 ramp

primary
#7B3FA9
secondary
#9EC084
accent
#D5528B
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100912
muted
#7F7B81

Preview Lab

Preview with #7B3FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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