#7B3FBD#7B3FBD

#7B3FBD is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.7% C 0.189 H 301.9°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#7B3FBD
RGBrgb(123, 63, 189)
HSLhsl(269, 50%, 49%)
HSVhsv(269, 67%, 74%)
CMYKcmyk(34.9%, 66.7%, 0%, 25.9%)
CIE-LABlab(40.31, 50.29, -56.52)
CIE-LCHlch(40.31, 75.66, 311.66°)
OKLaboklab(50.75% 0.0999 -0.1607)
OKLCHoklch(50.75% 0.189 301.9)
XYZxyz(19.1290, 11.4400, 49.3346)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3FBD #81BD3F
analogous
#3F42BD #7B3FBD #BA3FBD
triadic
#7B3FBD #BD7B3F #3FBD7B
tetradic
#7B3FBD #BD3F42 #81BD3F #3FBDBA
square
#7B3FBD #BD3F42 #81BD3F #3FBDBA
split-complementary
#7B3FBD #BDBA3F #42BD3F
monochromatic
#3F2061 #5D308F #7B3FBD #9A6BCE #BA99DD

Accessibility & contrast

On white

6.39
#7B3FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#7B3FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3FBD
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3FBD#FFFFFF#000000##FFFFFF
##7B3FBD1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b3fbd;
/* rgb */ color: rgb(123, 63, 189);
/* oklch */ color: oklch(50.7% 0.189 301.9);
Tailwind
colors: {
  custom: {
    50: '#a678d2',
    500: '#7b3fbd',
    950: '#000000',
  },
}
SCSS
$custom: #7b3fbd;
$custom-light: #a678d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3fbd",
  "rgb": {
    "r": 123,
    "g": 63,
    "b": 189
  },
  "hsl": {
    "h": 268.571,
    "s": 50,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50745,
    "c": 0.18925,
    "h": 301.9
  },
  "luminance": 0.1144
}

Semantic roles & 50–950 ramp

primary
#7B3FBD
secondary
#ADC98F
accent
#DA4E97
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7B3FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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