#7B3FBE#7B3FBE

#7B3FBE is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.8% C 0.190 H 301.6°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#7B3FBE
RGBrgb(123, 63, 190)
HSLhsl(268, 50%, 50%)
HSVhsv(268, 67%, 75%)
CMYKcmyk(35.3%, 66.8%, 0%, 25.5%)
CIE-LABlab(40.38, 50.54, -56.99)
CIE-LCHlch(40.38, 76.17, 311.56°)
OKLaboklab(50.82% 0.0998 -0.1621)
OKLCHoklch(50.82% 0.19 301.6)
XYZxyz(19.2379, 11.4836, 49.9082)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3FBE #82BE3F
analogous
#3F43BE #7B3FBE #BB3FBE
triadic
#7B3FBE #BE7B3F #3FBE7B
tetradic
#7B3FBE #BE3F43 #82BE3F #3FBEBB
square
#7B3FBE #BE3F43 #82BE3F #3FBEBB
split-complementary
#7B3FBE #BEBB3F #43BE3F
monochromatic
#3F2162 #5D3090 #7B3FBE #9A6CCE #BA9ADD

Accessibility & contrast

On white

6.37
#7B3FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#7B3FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3FBE
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3FBE#FFFFFF#000000##FFFFFF
##7B3FBE1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC2
Deuteranopia (green-blind)
#005FBB
Tritanopia (blue-blind)
#6D5C79
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7b3fbe;
/* rgb */ color: rgb(123, 63, 190);
/* oklch */ color: oklch(50.8% 0.190 301.6);
Tailwind
colors: {
  custom: {
    50: '#a678d2',
    500: '#7b3fbe',
    950: '#000000',
  },
}
SCSS
$custom: #7b3fbe;
$custom-light: #a678d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3fbe",
  "rgb": {
    "r": 123,
    "g": 63,
    "b": 190
  },
  "hsl": {
    "h": 268.346,
    "s": 50.198,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50819,
    "c": 0.19036,
    "h": 301.6
  },
  "luminance": 0.11484
}

Semantic roles & 50–950 ramp

primary
#7B3FBE
secondary
#AEC98F
accent
#DA4E98
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7B3FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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