#7B47BF#7B47BF

#7B47BF is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.0% C 0.181 H 300.1°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#7B47BF
RGBrgb(123, 71, 191)
HSLhsl(266, 48%, 51%)
HSVhsv(266, 63%, 75%)
CMYKcmyk(35.6%, 62.8%, 0%, 25.1%)
CIE-LABlab(41.97, 46.66, -55.02)
CIE-LCHlch(41.97, 72.14, 310.30°)
OKLaboklab(51.98% 0.0906 -0.1563)
OKLCHoklch(51.98% 0.181 300.1)
XYZxyz(19.8233, 12.4789, 50.6444)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B47BF #8BBF47
analogous
#474FBF #7B47BF #B747BF
triadic
#7B47BF #BF7B47 #47BF7B
tetradic
#7B47BF #BF474F #8BBF47 #47BFB7
square
#7B47BF #BF474F #8BBF47 #47BFB7
split-complementary
#7B47BF #BFB747 #4FBF47
monochromatic
#412468 #5E3495 #7B47BF #9C74CF #BCA2DF

Accessibility & contrast

On white

6.01
#7B47BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#7B47BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B47BF
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B47BF#FFFFFF#000000##FFFFFF
##7B47BF1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b47bf;
/* rgb */ color: rgb(123, 71, 191);
/* oklch */ color: oklch(52.0% 0.181 300.1);
Tailwind
colors: {
  custom: {
    50: '#a67dd3',
    500: '#7b47bf',
    950: '#000000',
  },
}
SCSS
$custom: #7b47bf;
$custom-light: #a67dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b47bf",
  "rgb": {
    "r": 123,
    "g": 71,
    "b": 191
  },
  "hsl": {
    "h": 266,
    "s": 48.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51984,
    "c": 0.18071,
    "h": 300.1
  },
  "luminance": 0.12479
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B47BF

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

Preview Lab → · Contrast checker → · Palette generator →

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