#7B46BF#7B46BF

#7B46BF is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.8% C 0.182 H 300.3°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#7B46BF
RGBrgb(123, 70, 191)
HSLhsl(266, 49%, 51%)
HSVhsv(266, 63%, 75%)
CMYKcmyk(35.6%, 63.4%, 0%, 25.1%)
CIE-LABlab(41.77, 47.19, -55.33)
CIE-LCHlch(41.77, 72.72, 310.46°)
OKLaboklab(51.84% 0.0918 -0.1573)
OKLCHoklch(51.84% 0.182 300.3)
XYZxyz(19.7602, 12.3527, 50.6234)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B46BF #8ABF46
analogous
#464DBF #7B46BF #B746BF
triadic
#7B46BF #BF7B46 #46BF7B
tetradic
#7B46BF #BF464D #8ABF46 #46BFB7
square
#7B46BF #BF464D #8ABF46 #46BFB7
split-complementary
#7B46BF #BFB746 #4DBF46
monochromatic
#412467 #5E3394 #7B46BF #9B73CF #BCA1DE

Accessibility & contrast

On white

6.05
#7B46BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#7B46BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B46BF
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B46BF#FFFFFF#000000##FFFFFF
##7B46BF1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#1362BC
Tritanopia (blue-blind)
#6C617C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7b46bf;
/* rgb */ color: rgb(123, 70, 191);
/* oklch */ color: oklch(51.8% 0.182 300.3);
Tailwind
colors: {
  custom: {
    50: '#a67cd3',
    500: '#7b46bf',
    950: '#000000',
  },
}
SCSS
$custom: #7b46bf;
$custom-light: #a67cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b46bf",
  "rgb": {
    "r": 123,
    "g": 70,
    "b": 191
  },
  "hsl": {
    "h": 266.281,
    "s": 48.594,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51842,
    "c": 0.18209,
    "h": 300.3
  },
  "luminance": 0.12353
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B46BF

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

Preview Lab → · Contrast checker → · Palette generator →

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