#7B46BD#7B46BD

#7B46BD is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.7% C 0.180 H 300.7°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#7B46BD
RGBrgb(123, 70, 189)
HSLhsl(267, 47%, 51%)
HSVhsv(267, 63%, 74%)
CMYKcmyk(34.9%, 63%, 0%, 25.9%)
CIE-LABlab(41.63, 46.68, -54.39)
CIE-LCHlch(41.63, 71.67, 310.64°)
OKLaboklab(51.7% 0.0919 -0.1545)
OKLCHoklch(51.7% 0.18 300.7)
XYZxyz(19.5416, 12.2653, 49.4721)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B46BD #88BD46
analogous
#464CBD #7B46BD #B646BD
triadic
#7B46BD #BD7B46 #46BD7B
tetradic
#7B46BD #BD464C #88BD46 #46BDB6
square
#7B46BD #BD464C #88BD46 #46BDB6
split-complementary
#7B46BD #BDB646 #4CBD46
monochromatic
#412465 #5E3492 #7B46BD #9B73CD #BBA0DD

Accessibility & contrast

On white

6.08
#7B46BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#7B46BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B46BD
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B46BD#FFFFFF#000000##FFFFFF
##7B46BD1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#1961BA
Tritanopia (blue-blind)
#6D607B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7b46bd;
/* rgb */ color: rgb(123, 70, 189);
/* oklch */ color: oklch(51.7% 0.180 300.7);
Tailwind
colors: {
  custom: {
    50: '#a67cd2',
    500: '#7b46bd',
    950: '#000000',
  },
}
SCSS
$custom: #7b46bd;
$custom-light: #a67cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b46bd",
  "rgb": {
    "r": 123,
    "g": 70,
    "b": 189
  },
  "hsl": {
    "h": 266.723,
    "s": 47.41,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51699,
    "c": 0.17976,
    "h": 300.7
  },
  "luminance": 0.12265
}

Semantic roles & 50–950 ramp

primary
#7B46BD
secondary
#B2CA95
accent
#D7519B
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7B46BD

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

Preview Lab → · Contrast checker → · Palette generator →

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