#7B46BE#7B46BE

#7B46BE is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.8% C 0.181 H 300.5°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#7B46BE
RGBrgb(123, 70, 190)
HSLhsl(267, 48%, 51%)
HSVhsv(267, 63%, 75%)
CMYKcmyk(35.3%, 63.2%, 0%, 25.5%)
CIE-LABlab(41.70, 46.93, -54.86)
CIE-LCHlch(41.70, 72.20, 310.55°)
OKLaboklab(51.77% 0.0919 -0.1559)
OKLCHoklch(51.77% 0.181 300.5)
XYZxyz(19.6506, 12.3088, 50.0458)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B46BE #89BE46
analogous
#464DBE #7B46BE #B746BE
triadic
#7B46BE #BE7B46 #46BE7B
tetradic
#7B46BE #BE464D #89BE46 #46BEB7
square
#7B46BE #BE464D #89BE46 #46BEB7
split-complementary
#7B46BE #BEB746 #4DBE46
monochromatic
#412466 #5E3493 #7B46BE #9B73CE #BCA1DE

Accessibility & contrast

On white

6.07
#7B46BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#7B46BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B46BE
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B46BE#FFFFFF#000000##FFFFFF
##7B46BE1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C2
Deuteranopia (green-blind)
#1662BB
Tritanopia (blue-blind)
#6D607B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7b46be;
/* rgb */ color: rgb(123, 70, 190);
/* oklch */ color: oklch(51.8% 0.181 300.5);
Tailwind
colors: {
  custom: {
    50: '#a67cd2',
    500: '#7b46be',
    950: '#000000',
  },
}
SCSS
$custom: #7b46be;
$custom-light: #a67cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b46be",
  "rgb": {
    "r": 123,
    "g": 70,
    "b": 190
  },
  "hsl": {
    "h": 266.5,
    "s": 48,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5177,
    "c": 0.18093,
    "h": 300.5
  },
  "luminance": 0.12309
}

Semantic roles & 50–950 ramp

primary
#7B46BE
secondary
#B3CA95
accent
#D8509C
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7B46BE

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

Preview Lab → · Contrast checker → · Palette generator →

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