#7B47BB#7B47BB

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

Color values

HEX#7B47BB
RGBrgb(123, 71, 187)
HSLhsl(267, 46%, 51%)
HSVhsv(267, 62%, 73%)
CMYKcmyk(34.2%, 62%, 0%, 26.7%)
CIE-LABlab(41.70, 45.64, -53.11)
CIE-LCHlch(41.70, 70.03, 310.67°)
OKLaboklab(51.7% 0.0909 -0.1507)
OKLCHoklch(51.7% 0.176 301.1)
XYZxyz(19.3891, 12.3052, 48.3577)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B47BB #87BB47
analogous
#474DBB #7B47BB #B547BB
triadic
#7B47BB #BB7B47 #47BB7B
tetradic
#7B47BB #BB474D #87BB47 #47BBB5
square
#7B47BB #BB474D #87BB47 #47BBB5
split-complementary
#7B47BB #BBB547 #4DBB47
monochromatic
#412563 #5E3590 #7B47BB #9B74CC #BBA0DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B47BB#FFFFFF#000000##FFFFFF
##7B47BB1.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)
#0062BF
Deuteranopia (green-blind)
#1F62B8
Tritanopia (blue-blind)
#6E607A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7b47bb;
/* rgb */ color: rgb(123, 71, 187);
/* oklch */ color: oklch(51.7% 0.176 301.1);
Tailwind
colors: {
  custom: {
    50: '#a57dd0',
    500: '#7b47bb',
    950: '#000000',
  },
}
SCSS
$custom: #7b47bb;
$custom-light: #a57dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b47bb",
  "rgb": {
    "r": 123,
    "g": 71,
    "b": 187
  },
  "hsl": {
    "h": 266.897,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51702,
    "c": 0.17601,
    "h": 301.1
  },
  "luminance": 0.12305
}

Semantic roles & 50–950 ramp

primary
#7B47BB
secondary
#B2C995
accent
#D6529B
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7B47BB

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

Preview Lab → · Contrast checker → · Palette generator →

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