#7B3EBF#7B3EBF

#7B3EBF is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.8% C 0.193 H 301.5°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#7B3EBF
RGBrgb(123, 62, 191)
HSLhsl(268, 51%, 50%)
HSVhsv(268, 68%, 75%)
CMYKcmyk(35.6%, 67.5%, 0%, 25.1%)
CIE-LABlab(40.28, 51.28, -57.75)
CIE-LCHlch(40.28, 77.23, 311.60°)
OKLaboklab(50.76% 0.1007 -0.1644)
OKLCHoklch(50.76% 0.193 301.5)
XYZxyz(19.2927, 11.4177, 50.4675)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3EBF #82BF3E
analogous
#3E42BF #7B3EBF #BC3EBF
triadic
#7B3EBF #BF7B3E #3EBF7B
tetradic
#7B3EBF #BF3E42 #82BF3E #3EBFBC
square
#7B3EBF #BF3E42 #82BF3E #3EBFBC
split-complementary
#7B3EBF #BFBC3E #42BF3E
monochromatic
#3F2063 #5D2F91 #7B3EBF #9A6BCF #BA99DE

Accessibility & contrast

On white

6.40
#7B3EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#7B3EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3EBF
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3EBF#FFFFFF#000000##FFFFFF
##7B3EBF1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b3ebf;
/* rgb */ color: rgb(123, 62, 191);
/* oklch */ color: oklch(50.8% 0.193 301.5);
Tailwind
colors: {
  custom: {
    50: '#a678d3',
    500: '#7b3ebf',
    950: '#000000',
  },
}
SCSS
$custom: #7b3ebf;
$custom-light: #a678d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3ebf",
  "rgb": {
    "r": 123,
    "g": 62,
    "b": 191
  },
  "hsl": {
    "h": 268.372,
    "s": 50.988,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50764,
    "c": 0.19276,
    "h": 301.5
  },
  "luminance": 0.11418
}

Semantic roles & 50–950 ramp

primary
#7B3EBF
secondary
#AECA8F
accent
#DA4D98
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7B3EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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