#7B3FBF#7B3FBF

#7B3FBF is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.9% C 0.191 H 301.4°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#7B3FBF
RGBrgb(123, 63, 191)
HSLhsl(268, 50%, 50%)
HSVhsv(268, 67%, 75%)
CMYKcmyk(35.6%, 67%, 0%, 25.1%)
CIE-LABlab(40.46, 50.78, -57.46)
CIE-LCHlch(40.46, 76.69, 311.47°)
OKLaboklab(50.89% 0.0996 -0.1635)
OKLCHoklch(50.89% 0.191 301.4)
XYZxyz(19.3476, 11.5275, 50.4858)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3FBF #83BF3F
analogous
#3F43BF #7B3FBF #BB3FBF
triadic
#7B3FBF #BF7B3F #3FBF7B
tetradic
#7B3FBF #BF3F43 #83BF3F #3FBFBB
square
#7B3FBF #BF3F43 #83BF3F #3FBFBB
split-complementary
#7B3FBF #BFBB3F #43BF3F
monochromatic
#402163 #5D3091 #7B3FBF #9B6DCF #BA9BDE

Accessibility & contrast

On white

6.35
#7B3FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#7B3FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3FBF
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3FBF#FFFFFF#000000##FFFFFF
##7B3FBF1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#005FBC
Tritanopia (blue-blind)
#6D5C7A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7b3fbf;
/* rgb */ color: rgb(123, 63, 191);
/* oklch */ color: oklch(50.9% 0.191 301.4);
Tailwind
colors: {
  custom: {
    50: '#a678d3',
    500: '#7b3fbf',
    950: '#000000',
  },
}
SCSS
$custom: #7b3fbf;
$custom-light: #a678d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3fbf",
  "rgb": {
    "r": 123,
    "g": 63,
    "b": 191
  },
  "hsl": {
    "h": 268.125,
    "s": 50.394,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50893,
    "c": 0.19147,
    "h": 301.4
  },
  "luminance": 0.11528
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B3FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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