#7B41BF#7B41BF

#7B41BF is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.2% C 0.189 H 301.1°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#7B41BF
RGBrgb(123, 65, 191)
HSLhsl(268, 50%, 50%)
HSVhsv(268, 66%, 75%)
CMYKcmyk(35.6%, 66%, 0%, 25.1%)
CIE-LABlab(40.82, 49.78, -56.87)
CIE-LCHlch(40.82, 75.58, 311.20°)
OKLaboklab(51.16% 0.0974 -0.1618)
OKLCHoklch(51.16% 0.189 301.1)
XYZxyz(19.4604, 11.7530, 50.5234)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B41BF #85BF41
analogous
#4146BF #7B41BF #BA41BF
triadic
#7B41BF #BF7B41 #41BF7B
tetradic
#7B41BF #BF4146 #85BF41 #41BFBA
square
#7B41BF #BF4146 #85BF41 #41BFBA
split-complementary
#7B41BF #BFBA41 #46BF41
monochromatic
#402264 #5E3192 #7B41BF #9B6FCE #BB9DDE

Accessibility & contrast

On white

6.27
#7B41BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#7B41BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B41BF
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B41BF#FFFFFF#000000##FFFFFF
##7B41BF1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#0060BC
Tritanopia (blue-blind)
#6D5D7A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7b41bf;
/* rgb */ color: rgb(123, 65, 191);
/* oklch */ color: oklch(51.2% 0.189 301.1);
Tailwind
colors: {
  custom: {
    50: '#a679d3',
    500: '#7b41bf',
    950: '#000000',
  },
}
SCSS
$custom: #7b41bf;
$custom-light: #a679d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b41bf",
  "rgb": {
    "r": 123,
    "g": 65,
    "b": 191
  },
  "hsl": {
    "h": 267.619,
    "s": 49.606,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51156,
    "c": 0.18886,
    "h": 301.1
  },
  "luminance": 0.11753
}

Semantic roles & 50–950 ramp

primary
#7B41BF
secondary
#B0CA92
accent
#D94F99
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7B41BF

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

Preview Lab → · Contrast checker → · Palette generator →

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