#7B47C3#7B47C3

#7B47C3 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.3% C 0.185 H 299.2°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#7B47C3
RGBrgb(123, 71, 195)
HSLhsl(265, 51%, 52%)
HSVhsv(265, 64%, 76%)
CMYKcmyk(36.9%, 63.6%, 0%, 23.5%)
CIE-LABlab(42.24, 47.68, -56.90)
CIE-LCHlch(42.24, 74.24, 309.96°)
OKLaboklab(52.27% 0.0903 -0.1619)
OKLCHoklch(52.27% 0.185 299.2)
XYZxyz(20.2695, 12.6573, 52.9944)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B47C3 #8FC347
analogous
#4751C3 #7B47C3 #B947C3
triadic
#7B47C3 #C37B47 #47C37B
tetradic
#7B47C3 #C34751 #8FC347 #47C3B9
square
#7B47C3 #C34751 #8FC347 #47C3B9
split-complementary
#7B47C3 #C3B947 #51C347
monochromatic
#42236C #5E329A #7B47C3 #9C75D2 #BDA3E1

Accessibility & contrast

On white

5.95
#7B47C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#7B47C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B47C3
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B47C3#FFFFFF#000000##FFFFFF
##7B47C31.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C7
Deuteranopia (green-blind)
#0863C0
Tritanopia (blue-blind)
#6B637E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7b47c3;
/* rgb */ color: rgb(123, 71, 195);
/* oklch */ color: oklch(52.3% 0.185 299.2);
Tailwind
colors: {
  custom: {
    50: '#a67dd6',
    500: '#7b47c3',
    950: '#000000',
  },
}
SCSS
$custom: #7b47c3;
$custom-light: #a67dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b47c3",
  "rgb": {
    "r": 123,
    "g": 71,
    "b": 195
  },
  "hsl": {
    "h": 265.161,
    "s": 50.82,
    "l": 52.157
  },
  "oklch": {
    "l": 0.5227,
    "c": 0.18538,
    "h": 299.2
  },
  "luminance": 0.12658
}

Semantic roles & 50–950 ramp

primary
#7B47C3
secondary
#B7CE98
accent
#DA4D9F
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7B47C3

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

Preview Lab → · Contrast checker → · Palette generator →

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