#7B47BE#7B47BE

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

Color values

HEX#7B47BE
RGBrgb(123, 71, 190)
HSLhsl(266, 48%, 51%)
HSVhsv(266, 63%, 75%)
CMYKcmyk(35.3%, 62.6%, 0%, 25.5%)
CIE-LABlab(41.90, 46.40, -54.54)
CIE-LCHlch(41.90, 71.61, 310.39°)
OKLaboklab(51.91% 0.0907 -0.1549)
OKLCHoklch(51.91% 0.18 300.3)
XYZxyz(19.7136, 12.4350, 50.0668)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B47BE #8ABE47
analogous
#474EBE #7B47BE #B647BE
triadic
#7B47BE #BE7B47 #47BE7B
tetradic
#7B47BE #BE474E #8ABE47 #47BEB6
square
#7B47BE #BE474E #8ABE47 #47BEB6
split-complementary
#7B47BE #BEB647 #4EBE47
monochromatic
#412466 #5E3494 #7B47BE #9B74CE #BCA1DE

Accessibility & contrast

On white

6.02
#7B47BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#7B47BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B47BE
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B47BE#FFFFFF#000000##FFFFFF
##7B47BE1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C2
Deuteranopia (green-blind)
#1962BB
Tritanopia (blue-blind)
#6D617C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7b47be;
/* rgb */ color: rgb(123, 71, 190);
/* oklch */ color: oklch(51.9% 0.180 300.3);
Tailwind
colors: {
  custom: {
    50: '#a67dd2',
    500: '#7b47be',
    950: '#000000',
  },
}
SCSS
$custom: #7b47be;
$custom-light: #a67dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b47be",
  "rgb": {
    "r": 123,
    "g": 71,
    "b": 190
  },
  "hsl": {
    "h": 266.218,
    "s": 47.791,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51913,
    "c": 0.17953,
    "h": 300.3
  },
  "luminance": 0.12435
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B47BE

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

Preview Lab → · Contrast checker → · Palette generator →

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