#7B47CF#7B47CF

#7B47CF is a mid, vivid violet. Relative luminance 0.132; OKLCH L 53.2% C 0.199 H 296.6°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#7B47CF
RGBrgb(123, 71, 207)
HSLhsl(263, 59%, 55%)
HSVhsv(263, 66%, 81%)
CMYKcmyk(40.6%, 65.7%, 0%, 18.8%)
CIE-LABlab(43.10, 50.78, -62.47)
CIE-LCHlch(43.10, 80.51, 309.11°)
OKLaboklab(53.16% 0.0891 -0.1783)
OKLCHoklch(53.16% 0.199 296.6)
XYZxyz(21.6812, 13.2220, 60.4292)
Luminance0.1322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B47CF #9BCF47
analogous
#4757CF #7B47CF #BF47CF
triadic
#7B47CF #CF7B47 #47CF7B
tetradic
#7B47CF #CF4757 #9BCF47 #47CFBF
square
#7B47CF #CF4757 #9BCF47 #47CFBF
split-complementary
#7B47CF #CFBF47 #57CF47
monochromatic
#43207B #5D2DAC #7B47CF #9E78DC #C1A8E8

Accessibility & contrast

On white

5.76
#7B47CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#7B47CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B47CF
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B47CF#FFFFFF#000000##FFFFFF
##7B47CF1.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#0064CC
Tritanopia (blue-blind)
#666785
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7b47cf;
/* rgb */ color: rgb(123, 71, 207);
/* oklch */ color: oklch(53.2% 0.199 296.6);
Tailwind
colors: {
  custom: {
    50: '#a77ddf',
    500: '#7b47cf',
    950: '#000000',
  },
}
SCSS
$custom: #7b47cf;
$custom-light: #a77ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#7b47cf",
  "rgb": {
    "r": 123,
    "g": 71,
    "b": 207
  },
  "hsl": {
    "h": 262.941,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53156,
    "c": 0.1993,
    "h": 296.6
  },
  "luminance": 0.13222
}

Semantic roles & 50–950 ramp

primary
#7B47CF
secondary
#C0D69C
accent
#E246A6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7B47CF

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

Preview Lab → · Contrast checker → · Palette generator →

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