#7B3FBB#7B3FBB

#7B3FBB is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.6% C 0.187 H 302.4°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#7B3FBB
RGBrgb(123, 63, 187)
HSLhsl(269, 50%, 49%)
HSVhsv(269, 66%, 73%)
CMYKcmyk(34.2%, 66.3%, 0%, 26.7%)
CIE-LABlab(40.17, 49.80, -55.58)
CIE-LCHlch(40.17, 74.62, 311.86°)
OKLaboklab(50.6% 0.1001 -0.158)
OKLCHoklch(50.6% 0.187 302.4)
XYZxyz(18.9134, 11.3538, 48.1992)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3FBB #7FBB3F
analogous
#3F41BB #7B3FBB #B93FBB
triadic
#7B3FBB #BB7B3F #3FBB7B
tetradic
#7B3FBB #BB3F41 #7FBB3F #3FBBB9
square
#7B3FBB #BB3F41 #7FBB3F #3FBBB9
split-complementary
#7B3FBB #BBB93F #41BB3F
monochromatic
#3F205F #5D308D #7B3FBB #9A6ACD #B998DC

Accessibility & contrast

On white

6.42
#7B3FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#7B3FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3FBB
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3FBB#FFFFFF#000000##FFFFFF
##7B3FBB1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#075EB8
Tritanopia (blue-blind)
#6E5B78
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7b3fbb;
/* rgb */ color: rgb(123, 63, 187);
/* oklch */ color: oklch(50.6% 0.187 302.4);
Tailwind
colors: {
  custom: {
    50: '#a678d0',
    500: '#7b3fbb',
    950: '#000000',
  },
}
SCSS
$custom: #7b3fbb;
$custom-light: #a678d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3fbb",
  "rgb": {
    "r": 123,
    "g": 63,
    "b": 187
  },
  "hsl": {
    "h": 269.032,
    "s": 49.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50598,
    "c": 0.18702,
    "h": 302.4
  },
  "luminance": 0.11354
}

Semantic roles & 50–950 ramp

primary
#7B3FBB
secondary
#ACC88E
accent
#D94F96
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7B3FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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